forms.css 32 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766
  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. }
  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: 0;
  844. padding: 0 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;
  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. margin: 0 1px 0 6px;
  1035. }
  1036. .tools-privacy-policy-page select {
  1037. margin: 0 1px 0.5em 6px;
  1038. }
  1039. .tools-privacy-edit {
  1040. margin: 1.5em 0;
  1041. }
  1042. .tools-privacy-policy-page span {
  1043. line-height: 2;
  1044. }
  1045. .privacy_requests .column-email {
  1046. width: 40%;
  1047. }
  1048. .privacy_requests .column-type {
  1049. text-align: center;
  1050. }
  1051. .privacy_requests thead td:first-child,
  1052. .privacy_requests tfoot td:first-child {
  1053. border-left: 4px solid #fff;
  1054. }
  1055. .privacy_requests tbody th {
  1056. border-left: 4px solid #fff;
  1057. background: #fff;
  1058. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  1059. }
  1060. .privacy_requests .row-actions {
  1061. color: #787c82;
  1062. }
  1063. .privacy_requests .row-actions.processing {
  1064. position: static;
  1065. }
  1066. .privacy_requests tbody .has-request-results th {
  1067. box-shadow: none;
  1068. }
  1069. .privacy_requests tbody .request-results th .notice {
  1070. margin: 0 0 5px;
  1071. }
  1072. .privacy_requests tbody td {
  1073. background: #fff;
  1074. box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  1075. }
  1076. .privacy_requests tbody .has-request-results td {
  1077. box-shadow: none;
  1078. }
  1079. .privacy_requests .next_steps .button {
  1080. word-wrap: break-word;
  1081. white-space: normal;
  1082. }
  1083. .privacy_requests .status-request-confirmed th,
  1084. .privacy_requests .status-request-confirmed td {
  1085. background-color: #fff;
  1086. border-left-color: #72aee6;
  1087. }
  1088. .privacy_requests .status-request-failed th,
  1089. .privacy_requests .status-request-failed td {
  1090. background-color: #f6f7f7;
  1091. border-left-color: #d63638;
  1092. }
  1093. .privacy_requests .export_personal_data_failed a {
  1094. vertical-align: baseline;
  1095. }
  1096. .status-label {
  1097. font-weight: 600;
  1098. }
  1099. .status-label.status-request-pending {
  1100. font-weight: 400;
  1101. font-style: italic;
  1102. color: #646970;
  1103. }
  1104. .status-label.status-request-failed {
  1105. color: #d63638;
  1106. font-weight: 600;
  1107. }
  1108. .wp-privacy-request-form {
  1109. clear: both;
  1110. }
  1111. .wp-privacy-request-form-field {
  1112. margin: 1.5em 0;
  1113. }
  1114. .wp-privacy-request-form input {
  1115. margin: 0;
  1116. }
  1117. .email-personal-data::before {
  1118. display: inline-block;
  1119. font: normal 20px/1 dashicons;
  1120. margin: 3px 5px 0 -2px;
  1121. speak: never;
  1122. -webkit-font-smoothing: antialiased;
  1123. -moz-osx-font-smoothing: grayscale;
  1124. vertical-align: top;
  1125. }
  1126. .email-personal-data--sending::before {
  1127. color: #d63638;
  1128. content: "\f463";
  1129. animation: rotation 2s infinite linear;
  1130. }
  1131. .email-personal-data--sent::before {
  1132. color: #68de7c;
  1133. content: "\f147";
  1134. }
  1135. /* =Media Queries
  1136. -------------------------------------------------------------- */
  1137. @media screen and (max-width: 782px) {
  1138. /* Input Elements */
  1139. textarea {
  1140. -webkit-appearance: none;
  1141. }
  1142. input[type="text"],
  1143. input[type="password"],
  1144. input[type="date"],
  1145. input[type="datetime"],
  1146. input[type="datetime-local"],
  1147. input[type="email"],
  1148. input[type="month"],
  1149. input[type="number"],
  1150. input[type="search"],
  1151. input[type="tel"],
  1152. input[type="time"],
  1153. input[type="url"],
  1154. input[type="week"] {
  1155. -webkit-appearance: none;
  1156. padding: 3px 10px;
  1157. /* Only necessary for IE11 */
  1158. min-height: 40px;
  1159. }
  1160. ::-webkit-datetime-edit {
  1161. line-height: 1.875; /* 30px */
  1162. }
  1163. input[type="checkbox"],
  1164. .widefat th input[type="checkbox"],
  1165. .widefat thead td input[type="checkbox"],
  1166. .widefat tfoot td input[type="checkbox"] {
  1167. -webkit-appearance: none;
  1168. }
  1169. .widefat th input[type="checkbox"],
  1170. .widefat thead td input[type="checkbox"],
  1171. .widefat tfoot td input[type="checkbox"] {
  1172. margin-bottom: 8px;
  1173. }
  1174. input[type="checkbox"]:checked:before,
  1175. .widefat th input[type="checkbox"]:before,
  1176. .widefat thead td input[type="checkbox"]:before,
  1177. .widefat tfoot td input[type="checkbox"]:before {
  1178. width: 1.875rem;
  1179. height: 1.875rem;
  1180. margin: -0.1875rem -0.3125rem;
  1181. }
  1182. input[type="radio"],
  1183. input[type="checkbox"] {
  1184. height: 1.5625rem;
  1185. width: 1.5625rem;
  1186. }
  1187. .wp-admin p input[type="checkbox"],
  1188. .wp-admin p input[type="radio"] {
  1189. margin-top: -0.1875rem;
  1190. }
  1191. input[type="radio"]:checked:before {
  1192. vertical-align: middle;
  1193. width: 0.5625rem;
  1194. height: 0.5625rem;
  1195. margin: 0.4375rem;
  1196. line-height: 0.76190476;
  1197. }
  1198. .wp-upload-form input[type="submit"] {
  1199. margin-top: 10px;
  1200. }
  1201. .wp-core-ui select,
  1202. .wp-admin .form-table select {
  1203. min-height: 40px;
  1204. font-size: 16px;
  1205. line-height: 1.625; /* 26px */
  1206. padding: 5px 24px 5px 8px;
  1207. }
  1208. .wp-admin .button-cancel {
  1209. margin-bottom: 0;
  1210. padding: 2px 0;
  1211. font-size: 14px;
  1212. vertical-align: middle;
  1213. }
  1214. #adduser .form-field input,
  1215. #createuser .form-field input {
  1216. width: 100%;
  1217. }
  1218. .form-table {
  1219. box-sizing: border-box;
  1220. }
  1221. .form-table th,
  1222. .form-table td,
  1223. .label-responsive {
  1224. display: block;
  1225. width: auto;
  1226. vertical-align: middle;
  1227. }
  1228. .label-responsive {
  1229. margin: 0.5em 0;
  1230. }
  1231. .export-filters li {
  1232. margin-bottom: 0;
  1233. }
  1234. .form-table .color-palette td {
  1235. display: table-cell;
  1236. width: 15px;
  1237. }
  1238. .form-table table.color-palette {
  1239. margin-right: 10px;
  1240. }
  1241. textarea,
  1242. input {
  1243. font-size: 16px;
  1244. }
  1245. .form-table td input[type="text"],
  1246. .form-table td input[type="email"],
  1247. .form-table td input[type="password"],
  1248. .form-table td select,
  1249. .form-table td textarea,
  1250. .form-table span.description,
  1251. #profile-page .form-table textarea {
  1252. width: 100%;
  1253. display: block;
  1254. max-width: none;
  1255. box-sizing: border-box;
  1256. }
  1257. .form-table .form-required.form-invalid td:after {
  1258. float: right;
  1259. margin: -30px 3px 0 0;
  1260. }
  1261. input[type="text"].small-text,
  1262. input[type="search"].small-text,
  1263. input[type="password"].small-text,
  1264. input[type="number"].small-text,
  1265. input[type="number"].small-text,
  1266. .form-table input[type="text"].small-text {
  1267. width: auto;
  1268. max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */
  1269. display: inline;
  1270. padding: 3px 6px;
  1271. margin: 0 3px;
  1272. }
  1273. .form-table .regular-text ~ input[type="text"].small-text {
  1274. margin-top: 5px;
  1275. }
  1276. #pass-strength-result {
  1277. width: 100%;
  1278. box-sizing: border-box;
  1279. padding: 8px;
  1280. }
  1281. p.search-box {
  1282. float: none;
  1283. position: absolute;
  1284. bottom: 0;
  1285. width: 98%;
  1286. height: 90px;
  1287. margin-bottom: 20px;
  1288. }
  1289. p.search-box input[name="s"] {
  1290. float: none;
  1291. width: 100%;
  1292. margin-bottom: 10px;
  1293. vertical-align: middle;
  1294. }
  1295. p.search-box input[type="submit"] {
  1296. margin-bottom: 10px;
  1297. }
  1298. .form-table span.description {
  1299. display: inline;
  1300. padding: 4px 0 0;
  1301. line-height: 1.4;
  1302. font-size: 14px;
  1303. }
  1304. .form-table th {
  1305. padding: 10px 0 0;
  1306. border-bottom: 0;
  1307. }
  1308. .form-table td {
  1309. margin-bottom: 0;
  1310. padding: 4px 0 6px;
  1311. }
  1312. .form-table.permalink-structure td code {
  1313. margin-left: 32px;
  1314. display: inline-block;
  1315. }
  1316. .form-table.permalink-structure td input[type="text"] {
  1317. margin-left: 32px;
  1318. margin-top: 4px;
  1319. width: 96%;
  1320. }
  1321. .form-table input.regular-text {
  1322. width: 100%;
  1323. }
  1324. .form-table label {
  1325. font-size: 14px;
  1326. }
  1327. .background-position-control .button-group > label {
  1328. font-size: 0;
  1329. }
  1330. .form-table fieldset label {
  1331. display: block;
  1332. }
  1333. #utc-time,
  1334. #local-time {
  1335. display: block;
  1336. float: none;
  1337. margin-top: 0.5em;
  1338. }
  1339. .form-field #domain {
  1340. max-width: none;
  1341. }
  1342. /* New Password */
  1343. .wp-pwd {
  1344. position: relative;
  1345. }
  1346. /* Needs higher specificity than normal input type text and password. */
  1347. #profile-page .form-table #pass1 {
  1348. padding-right: 90px;
  1349. }
  1350. .wp-pwd button.button {
  1351. background: transparent;
  1352. border: 1px solid transparent;
  1353. box-shadow: none;
  1354. line-height: 2;
  1355. margin: 0;
  1356. padding: 5px 9px;
  1357. position: absolute;
  1358. right: 0;
  1359. top: 0;
  1360. width: 2.375rem;
  1361. height: 2.375rem;
  1362. min-width: 40px;
  1363. min-height: 40px;
  1364. }
  1365. .wp-pwd button.wp-hide-pw {
  1366. right: 2.5rem;
  1367. }
  1368. .wp-pwd button.button:hover,
  1369. .wp-pwd button.button:focus {
  1370. background: transparent;
  1371. }
  1372. .wp-pwd button.button:active {
  1373. background: transparent;
  1374. box-shadow: none;
  1375. transform: none;
  1376. }
  1377. .wp-pwd .button .text {
  1378. display: none;
  1379. }
  1380. .wp-pwd [type="text"],
  1381. .wp-pwd [type="password"] {
  1382. line-height: 2;
  1383. padding-right: 5rem;
  1384. }
  1385. .wp-cancel-pw .dashicons-no {
  1386. display: inline-block;
  1387. }
  1388. .options-general-php input[type="text"].small-text {
  1389. max-width: 6.25em;
  1390. margin: 0;
  1391. }
  1392. /* Privacy Policy settings screen */
  1393. .tools-privacy-policy-page form.wp-create-privacy-page {
  1394. margin-bottom: 1em;
  1395. }
  1396. .tools-privacy-policy-page input#set-page,
  1397. .tools-privacy-policy-page select {
  1398. margin: 10px 0 0;
  1399. }
  1400. .tools-privacy-policy-page .wp-create-privacy-page span {
  1401. display: block;
  1402. margin-bottom: 1em;
  1403. }
  1404. .tools-privacy-policy-page .wp-create-privacy-page .button {
  1405. margin-left: 0;
  1406. }
  1407. .wp-list-table.privacy_requests tr:not(.inline-edit-row):not(.no-items) td.column-primary:not(.check-column) {
  1408. display: table-cell;
  1409. }
  1410. .wp-list-table.privacy_requests.widefat th input,
  1411. .wp-list-table.privacy_requests.widefat thead td input {
  1412. margin-left: 5px;
  1413. }
  1414. .wp-privacy-request-form-field input[type="text"] {
  1415. width: 100%;
  1416. margin-bottom: 10px;
  1417. vertical-align: middle;
  1418. }
  1419. .regular-text {
  1420. max-width: 100%;
  1421. }
  1422. }
  1423. @media only screen and (max-width: 768px) {
  1424. .form-field input[type="text"],
  1425. .form-field input[type="email"],
  1426. .form-field input[type="password"],
  1427. .form-field select,
  1428. .form-field textarea {
  1429. width: 99%;
  1430. }
  1431. .form-wrap .form-field {
  1432. padding: 0;
  1433. }
  1434. }
  1435. @media only screen and (max-height: 480px), screen and (max-width: 450px) {
  1436. /* Request Credentials / File Editor Warning */
  1437. .request-filesystem-credentials-dialog .notification-dialog,
  1438. .file-editor-warning .notification-dialog {
  1439. width: 100%;
  1440. height: 100%;
  1441. max-height: 100%;
  1442. position: fixed;
  1443. top: 0;
  1444. margin: 0;
  1445. left: 0;
  1446. }
  1447. }
  1448. /* Smartphone */
  1449. @media screen and (max-width: 600px) {
  1450. /* Color Picker Options */
  1451. .color-option {
  1452. width: 49%;
  1453. }
  1454. }
  1455. @media only screen and (max-width: 320px) {
  1456. .options-general-php .date-time-text.date-time-custom-text {
  1457. min-width: 0;
  1458. margin-right: 0.5em;
  1459. }
  1460. }
  1461. @keyframes rotation {
  1462. 0% {
  1463. transform: rotate(0deg);
  1464. }
  1465. 100% {
  1466. transform: rotate(359deg);
  1467. }
  1468. }