forms.scss 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103
  1. $no-columns-breakpoint: 600px;
  2. code {
  3. font-family: $font-monospace, monospace;
  4. font-weight: 400;
  5. }
  6. .form-container {
  7. max-width: 400px;
  8. padding: 20px;
  9. margin: 0 auto;
  10. }
  11. .indicator-icon {
  12. display: flex;
  13. align-items: center;
  14. justify-content: center;
  15. width: 40px;
  16. height: 40px;
  17. border-radius: 50%;
  18. color: $primary-text-color;
  19. &.success {
  20. background: $success-green;
  21. }
  22. &.failure {
  23. background: $error-red;
  24. }
  25. }
  26. .simple_form {
  27. &.hidden {
  28. display: none;
  29. }
  30. .input {
  31. margin-bottom: 15px;
  32. overflow: hidden;
  33. &.hidden {
  34. margin: 0;
  35. }
  36. &.radio_buttons {
  37. .radio {
  38. margin-bottom: 15px;
  39. &:last-child {
  40. margin-bottom: 0;
  41. }
  42. }
  43. .radio > label {
  44. position: relative;
  45. padding-left: 28px;
  46. input {
  47. position: absolute;
  48. top: -2px;
  49. left: 0;
  50. }
  51. }
  52. }
  53. &.boolean {
  54. position: relative;
  55. margin-bottom: 0;
  56. .label_input > label {
  57. font-family: inherit;
  58. font-size: 14px;
  59. padding-top: 5px;
  60. color: $primary-text-color;
  61. display: block;
  62. width: auto;
  63. }
  64. .label_input,
  65. .hint {
  66. padding-left: 28px;
  67. }
  68. .label_input__wrapper {
  69. position: static;
  70. }
  71. label.checkbox {
  72. position: absolute;
  73. top: 2px;
  74. left: 0;
  75. }
  76. label a {
  77. color: $highlight-text-color;
  78. text-decoration: underline;
  79. &:hover,
  80. &:active,
  81. &:focus {
  82. text-decoration: none;
  83. }
  84. }
  85. .recommended {
  86. position: absolute;
  87. margin: 0 4px;
  88. margin-top: -2px;
  89. }
  90. }
  91. }
  92. .row {
  93. display: flex;
  94. margin: 0 -5px;
  95. .input {
  96. box-sizing: border-box;
  97. flex: 1 1 auto;
  98. width: 50%;
  99. padding: 0 5px;
  100. }
  101. }
  102. .title {
  103. color: #d9e1e8;
  104. font-size: 20px;
  105. line-height: 28px;
  106. font-weight: 400;
  107. margin-bottom: 30px;
  108. }
  109. .hint {
  110. color: $darker-text-color;
  111. a {
  112. color: $highlight-text-color;
  113. }
  114. code {
  115. border-radius: 3px;
  116. padding: 0.2em 0.4em;
  117. background: darken($ui-base-color, 12%);
  118. }
  119. li {
  120. list-style: disc;
  121. margin-left: 18px;
  122. }
  123. }
  124. ul.hint {
  125. margin-bottom: 15px;
  126. }
  127. span.hint {
  128. display: block;
  129. font-size: 12px;
  130. margin-top: 4px;
  131. }
  132. p.hint {
  133. margin-bottom: 15px;
  134. color: $darker-text-color;
  135. &.subtle-hint {
  136. text-align: center;
  137. font-size: 12px;
  138. line-height: 18px;
  139. margin-top: 15px;
  140. margin-bottom: 0;
  141. }
  142. }
  143. .authentication-hint {
  144. margin-bottom: 25px;
  145. }
  146. .card {
  147. margin-bottom: 15px;
  148. }
  149. strong {
  150. font-weight: 500;
  151. @each $lang in $cjk-langs {
  152. &:lang(#{$lang}) {
  153. font-weight: 700;
  154. }
  155. }
  156. }
  157. .input.with_floating_label {
  158. .label_input {
  159. display: flex;
  160. & > label {
  161. font-family: inherit;
  162. font-size: 14px;
  163. color: $primary-text-color;
  164. font-weight: 500;
  165. min-width: 150px;
  166. flex: 0 0 auto;
  167. }
  168. input,
  169. select {
  170. flex: 1 1 auto;
  171. }
  172. }
  173. &.select .hint {
  174. margin-top: 6px;
  175. margin-left: 150px;
  176. }
  177. }
  178. .input.with_label {
  179. .label_input > label {
  180. font-family: inherit;
  181. font-size: 14px;
  182. color: $primary-text-color;
  183. display: block;
  184. margin-bottom: 8px;
  185. word-wrap: break-word;
  186. font-weight: 500;
  187. }
  188. .hint {
  189. margin-top: 6px;
  190. }
  191. ul {
  192. flex: 390px;
  193. }
  194. }
  195. .input.with_block_label {
  196. max-width: none;
  197. & > label {
  198. font-family: inherit;
  199. font-size: 16px;
  200. color: $primary-text-color;
  201. display: block;
  202. font-weight: 500;
  203. padding-top: 5px;
  204. }
  205. .hint {
  206. margin-bottom: 15px;
  207. }
  208. ul {
  209. columns: 2;
  210. }
  211. }
  212. .input.datetime .label_input select {
  213. display: inline-block;
  214. width: auto;
  215. flex: 0;
  216. }
  217. .required abbr {
  218. text-decoration: none;
  219. color: lighten($error-value-color, 12%);
  220. }
  221. .fields-group {
  222. margin-bottom: 25px;
  223. .input:last-child {
  224. margin-bottom: 0;
  225. }
  226. }
  227. .fields-row {
  228. display: flex;
  229. margin: 0 -10px;
  230. padding-top: 5px;
  231. margin-bottom: 25px;
  232. .input {
  233. max-width: none;
  234. }
  235. &__column {
  236. box-sizing: border-box;
  237. padding: 0 10px;
  238. flex: 1 1 auto;
  239. min-height: 1px;
  240. &-6 {
  241. max-width: 50%;
  242. }
  243. .actions {
  244. margin-top: 27px;
  245. }
  246. }
  247. .fields-group:last-child,
  248. .fields-row__column.fields-group {
  249. margin-bottom: 0;
  250. }
  251. @media screen and (max-width: $no-columns-breakpoint) {
  252. display: block;
  253. margin-bottom: 0;
  254. &__column {
  255. max-width: none;
  256. }
  257. .fields-group:last-child,
  258. .fields-row__column.fields-group,
  259. .fields-row__column {
  260. margin-bottom: 25px;
  261. }
  262. }
  263. .fields-group.invited-by {
  264. margin-bottom: 30px;
  265. .hint {
  266. text-align: center;
  267. }
  268. }
  269. }
  270. .input.radio_buttons .radio label {
  271. margin-bottom: 5px;
  272. font-family: inherit;
  273. font-size: 14px;
  274. color: $primary-text-color;
  275. display: block;
  276. width: auto;
  277. }
  278. .check_boxes {
  279. .checkbox {
  280. label {
  281. font-family: inherit;
  282. font-size: 14px;
  283. color: $primary-text-color;
  284. display: inline-block;
  285. width: auto;
  286. position: relative;
  287. padding-top: 5px;
  288. padding-left: 25px;
  289. flex: 1 1 auto;
  290. }
  291. input[type="checkbox"] {
  292. position: absolute;
  293. left: 0;
  294. top: 5px;
  295. margin: 0;
  296. }
  297. }
  298. }
  299. .input.static .label_input__wrapper {
  300. font-size: 16px;
  301. padding: 10px;
  302. border: 1px solid $dark-text-color;
  303. border-radius: 4px;
  304. }
  305. input[type="text"],
  306. input[type="number"],
  307. input[type="email"],
  308. input[type="password"],
  309. input[type="url"],
  310. textarea {
  311. box-sizing: border-box;
  312. font-size: 16px;
  313. color: $primary-text-color;
  314. display: block;
  315. width: 100%;
  316. outline: 0;
  317. font-family: inherit;
  318. resize: vertical;
  319. background: darken($ui-base-color, 10%);
  320. border: 1px solid darken($ui-base-color, 14%);
  321. border-radius: 4px;
  322. padding: 10px;
  323. &::placeholder {
  324. color: lighten($darker-text-color, 4%);
  325. }
  326. &:invalid {
  327. box-shadow: none;
  328. }
  329. &:required:valid {
  330. border-color: $valid-value-color;
  331. }
  332. &:hover {
  333. border-color: darken($ui-base-color, 20%);
  334. }
  335. &:active,
  336. &:focus {
  337. border-color: $highlight-text-color;
  338. background: darken($ui-base-color, 8%);
  339. }
  340. }
  341. input[type="text"],
  342. input[type="number"],
  343. input[type="email"],
  344. input[type="password"] {
  345. &:focus:invalid:not(:placeholder-shown),
  346. &:required:invalid:not(:placeholder-shown) {
  347. border-color: lighten($error-red, 12%);
  348. }
  349. }
  350. .input.field_with_errors {
  351. label {
  352. color: lighten($error-red, 12%);
  353. }
  354. input[type="text"],
  355. input[type="number"],
  356. input[type="email"],
  357. input[type="password"],
  358. textarea,
  359. select {
  360. border-color: lighten($error-red, 12%);
  361. }
  362. .error {
  363. display: block;
  364. font-weight: 500;
  365. color: lighten($error-red, 12%);
  366. margin-top: 4px;
  367. }
  368. }
  369. .input.disabled {
  370. opacity: 0.5;
  371. }
  372. .actions {
  373. margin-top: 30px;
  374. display: flex;
  375. &.actions--top {
  376. margin-top: 0;
  377. margin-bottom: 30px;
  378. }
  379. }
  380. button,
  381. .button,
  382. .block-button {
  383. display: block;
  384. width: 100%;
  385. border: 0;
  386. border-radius: 4px;
  387. background: darken($ui-highlight-color, 2%);
  388. color: $primary-text-color;
  389. font-size: 18px;
  390. line-height: inherit;
  391. height: auto;
  392. padding: 10px;
  393. text-decoration: none;
  394. text-transform: uppercase;
  395. text-align: center;
  396. box-sizing: border-box;
  397. cursor: pointer;
  398. font-weight: 500;
  399. outline: 0;
  400. margin-bottom: 10px;
  401. margin-right: 10px;
  402. &:last-child {
  403. margin-right: 0;
  404. }
  405. &:active,
  406. &:focus,
  407. &:hover {
  408. background-color: $ui-highlight-color;
  409. }
  410. &:disabled:hover {
  411. background-color: $ui-primary-color;
  412. }
  413. &.negative {
  414. background: $error-value-color;
  415. &:hover {
  416. background-color: lighten($error-value-color, 5%);
  417. }
  418. &:active,
  419. &:focus {
  420. background-color: darken($error-value-color, 5%);
  421. }
  422. }
  423. }
  424. select {
  425. appearance: none;
  426. box-sizing: border-box;
  427. font-size: 16px;
  428. color: $primary-text-color;
  429. display: block;
  430. width: 100%;
  431. outline: 0;
  432. font-family: inherit;
  433. resize: vertical;
  434. background: darken($ui-base-color, 10%) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14.933 18.467' height='19.698' width='15.929'><path d='M3.467 14.967l-3.393-3.5H14.86l-3.392 3.5c-1.866 1.925-3.666 3.5-4 3.5-.335 0-2.135-1.575-4-3.5zm.266-11.234L7.467 0 11.2 3.733l3.733 3.734H0l3.733-3.734z' fill='#{hex-color(lighten($ui-base-color, 12%))}'/></svg>") no-repeat right 8px center / auto 16px;
  435. border: 1px solid darken($ui-base-color, 14%);
  436. border-radius: 4px;
  437. padding-left: 10px;
  438. padding-right: 30px;
  439. height: 41px;
  440. }
  441. h4 {
  442. margin-bottom: 15px !important;
  443. }
  444. .label_input {
  445. &__wrapper {
  446. position: relative;
  447. }
  448. &__append {
  449. position: absolute;
  450. right: 3px;
  451. top: 1px;
  452. padding: 10px;
  453. padding-bottom: 9px;
  454. font-size: 16px;
  455. color: $dark-text-color;
  456. font-family: inherit;
  457. pointer-events: none;
  458. cursor: default;
  459. max-width: 140px;
  460. white-space: nowrap;
  461. overflow: hidden;
  462. &::after {
  463. content: '';
  464. display: block;
  465. position: absolute;
  466. top: 0;
  467. right: 0;
  468. bottom: 1px;
  469. width: 5px;
  470. background-image: linear-gradient(to right, rgba(darken($ui-base-color, 10%), 0), darken($ui-base-color, 10%));
  471. }
  472. }
  473. }
  474. &__overlay-area {
  475. position: relative;
  476. &__blurred form {
  477. filter: blur(2px);
  478. }
  479. &__overlay {
  480. position: absolute;
  481. top: 0;
  482. left: 0;
  483. width: 100%;
  484. height: 100%;
  485. display: flex;
  486. justify-content: center;
  487. align-items: center;
  488. background: rgba($ui-base-color, 0.65);
  489. border-radius: 4px;
  490. margin-left: -4px;
  491. margin-top: -4px;
  492. padding: 4px;
  493. &__content {
  494. text-align: center;
  495. &.rich-formatting {
  496. &,
  497. p {
  498. color: $primary-text-color;
  499. }
  500. }
  501. }
  502. }
  503. }
  504. }
  505. .block-icon {
  506. display: block;
  507. margin: 0 auto;
  508. margin-bottom: 10px;
  509. font-size: 24px;
  510. }
  511. .flash-message {
  512. background: lighten($ui-base-color, 8%);
  513. color: $darker-text-color;
  514. border-radius: 4px;
  515. padding: 15px 10px;
  516. margin-bottom: 30px;
  517. text-align: center;
  518. &.notice {
  519. border: 1px solid rgba($valid-value-color, 0.5);
  520. background: rgba($valid-value-color, 0.25);
  521. color: $valid-value-color;
  522. }
  523. &.warning {
  524. border: 1px solid rgba($gold-star, 0.5);
  525. background: rgba($gold-star, 0.25);
  526. color: $gold-star;
  527. }
  528. &.alert {
  529. border: 1px solid rgba($error-value-color, 0.5);
  530. background: rgba($error-value-color, 0.1);
  531. color: $error-value-color;
  532. }
  533. &.hidden {
  534. display: none;
  535. }
  536. a {
  537. display: inline-block;
  538. color: $darker-text-color;
  539. text-decoration: none;
  540. &:hover {
  541. color: $primary-text-color;
  542. text-decoration: underline;
  543. }
  544. }
  545. &.warning a {
  546. font-weight: 700;
  547. color: inherit;
  548. text-decoration: underline;
  549. &:hover,
  550. &:focus,
  551. &:active {
  552. text-decoration: none;
  553. color: inherit;
  554. }
  555. }
  556. p {
  557. margin-bottom: 15px;
  558. }
  559. .oauth-code {
  560. outline: 0;
  561. box-sizing: border-box;
  562. display: block;
  563. width: 100%;
  564. border: 0;
  565. padding: 10px;
  566. font-family: $font-monospace, monospace;
  567. background: $ui-base-color;
  568. color: $primary-text-color;
  569. font-size: 14px;
  570. margin: 0;
  571. &::-moz-focus-inner {
  572. border: 0;
  573. }
  574. &::-moz-focus-inner,
  575. &:focus,
  576. &:active {
  577. outline: 0 !important;
  578. }
  579. &:focus {
  580. background: lighten($ui-base-color, 4%);
  581. }
  582. }
  583. strong {
  584. font-weight: 500;
  585. @each $lang in $cjk-langs {
  586. &:lang(#{$lang}) {
  587. font-weight: 700;
  588. }
  589. }
  590. }
  591. @media screen and (max-width: 740px) and (min-width: 441px) {
  592. margin-top: 40px;
  593. }
  594. &.translation-prompt {
  595. text-align: unset;
  596. color: unset;
  597. a {
  598. text-decoration: underline;
  599. }
  600. }
  601. }
  602. .flash-message-stack {
  603. margin-bottom: 30px;
  604. .flash-message {
  605. border-radius: 0;
  606. margin-bottom: 0;
  607. border-top-width: 0;
  608. &:first-child {
  609. border-radius: 4px 4px 0 0;
  610. border-top-width: 1px;
  611. }
  612. &:last-child {
  613. border-radius: 0 0 4px 4px;
  614. &:first-child {
  615. border-radius: 4px;
  616. }
  617. }
  618. }
  619. }
  620. .form-footer {
  621. margin-top: 30px;
  622. text-align: center;
  623. a {
  624. color: $darker-text-color;
  625. text-decoration: none;
  626. &:hover {
  627. text-decoration: underline;
  628. }
  629. }
  630. }
  631. .quick-nav {
  632. list-style: none;
  633. margin-bottom: 25px;
  634. font-size: 14px;
  635. li {
  636. display: inline-block;
  637. margin-right: 10px;
  638. }
  639. a {
  640. color: $highlight-text-color;
  641. text-transform: uppercase;
  642. text-decoration: none;
  643. font-weight: 700;
  644. &:hover,
  645. &:focus,
  646. &:active {
  647. color: lighten($highlight-text-color, 8%);
  648. }
  649. }
  650. }
  651. .oauth-prompt,
  652. .follow-prompt {
  653. margin-bottom: 30px;
  654. color: $darker-text-color;
  655. h2 {
  656. font-size: 16px;
  657. margin-bottom: 30px;
  658. text-align: center;
  659. }
  660. strong {
  661. color: $secondary-text-color;
  662. font-weight: 500;
  663. @each $lang in $cjk-langs {
  664. &:lang(#{$lang}) {
  665. font-weight: 700;
  666. }
  667. }
  668. }
  669. }
  670. .oauth-prompt {
  671. h3 {
  672. color: $ui-secondary-color;
  673. font-size: 17px;
  674. line-height: 22px;
  675. font-weight: 500;
  676. margin-bottom: 30px;
  677. }
  678. p {
  679. font-size: 14px;
  680. line-height: 18px;
  681. margin-bottom: 30px;
  682. }
  683. .permissions-list {
  684. border: 1px solid $ui-base-color;
  685. border-radius: 4px;
  686. background: darken($ui-base-color, 4%);
  687. margin-bottom: 30px;
  688. }
  689. .actions {
  690. margin: 0 -10px;
  691. display: flex;
  692. form {
  693. box-sizing: border-box;
  694. padding: 0 10px;
  695. flex: 1 1 auto;
  696. min-height: 1px;
  697. width: 50%;
  698. }
  699. }
  700. }
  701. .qr-wrapper {
  702. display: flex;
  703. flex-wrap: wrap;
  704. align-items: flex-start;
  705. }
  706. .qr-code {
  707. flex: 0 0 auto;
  708. background: $simple-background-color;
  709. padding: 4px;
  710. margin: 0 10px 20px 0;
  711. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  712. display: inline-block;
  713. svg {
  714. display: block;
  715. margin: 0;
  716. }
  717. }
  718. .qr-alternative {
  719. margin-bottom: 20px;
  720. color: $secondary-text-color;
  721. flex: 150px;
  722. samp {
  723. display: block;
  724. font-size: 14px;
  725. }
  726. }
  727. .table-form {
  728. p {
  729. margin-bottom: 15px;
  730. strong {
  731. font-weight: 500;
  732. @each $lang in $cjk-langs {
  733. &:lang(#{$lang}) {
  734. font-weight: 700;
  735. }
  736. }
  737. }
  738. }
  739. }
  740. .simple_form,
  741. .table-form {
  742. .warning {
  743. box-sizing: border-box;
  744. background: rgba($error-value-color, 0.5);
  745. color: $primary-text-color;
  746. text-shadow: 1px 1px 0 rgba($base-shadow-color, 0.3);
  747. box-shadow: 0 2px 6px rgba($base-shadow-color, 0.4);
  748. border-radius: 4px;
  749. padding: 10px;
  750. margin-bottom: 15px;
  751. a {
  752. color: $primary-text-color;
  753. text-decoration: underline;
  754. &:hover,
  755. &:focus,
  756. &:active {
  757. text-decoration: none;
  758. }
  759. }
  760. strong {
  761. font-weight: 600;
  762. display: block;
  763. margin-bottom: 5px;
  764. @each $lang in $cjk-langs {
  765. &:lang(#{$lang}) {
  766. font-weight: 700;
  767. }
  768. }
  769. .fa {
  770. font-weight: 400;
  771. }
  772. }
  773. }
  774. }
  775. .action-pagination {
  776. display: flex;
  777. flex-wrap: wrap;
  778. align-items: center;
  779. .actions,
  780. .pagination {
  781. flex: 1 1 auto;
  782. }
  783. .actions {
  784. padding: 30px 0;
  785. padding-right: 20px;
  786. flex: 0 0 auto;
  787. }
  788. }
  789. .post-follow-actions {
  790. text-align: center;
  791. color: $darker-text-color;
  792. div {
  793. margin-bottom: 4px;
  794. }
  795. }
  796. .alternative-login {
  797. margin-top: 20px;
  798. margin-bottom: 20px;
  799. h4 {
  800. font-size: 16px;
  801. color: $primary-text-color;
  802. text-align: center;
  803. margin-bottom: 20px;
  804. border: 0;
  805. padding: 0;
  806. }
  807. .button {
  808. display: block;
  809. }
  810. }
  811. .scope-danger {
  812. color: $warning-red;
  813. }
  814. .form_admin_settings_site_short_description,
  815. .form_admin_settings_site_description,
  816. .form_admin_settings_site_extended_description,
  817. .form_admin_settings_site_terms,
  818. .form_admin_settings_custom_css,
  819. .form_admin_settings_closed_registrations_message {
  820. textarea {
  821. font-family: $font-monospace, monospace;
  822. }
  823. }
  824. .input-copy {
  825. background: darken($ui-base-color, 10%);
  826. border: 1px solid darken($ui-base-color, 14%);
  827. border-radius: 4px;
  828. display: flex;
  829. align-items: center;
  830. padding-right: 4px;
  831. position: relative;
  832. top: 1px;
  833. transition: border-color 300ms linear;
  834. &__wrapper {
  835. flex: 1 1 auto;
  836. }
  837. input[type="text"] {
  838. background: transparent;
  839. border: 0;
  840. padding: 10px;
  841. font-size: 14px;
  842. font-family: $font-monospace, monospace;
  843. }
  844. button {
  845. flex: 0 0 auto;
  846. margin: 4px;
  847. text-transform: none;
  848. font-weight: 400;
  849. font-size: 14px;
  850. padding: 7px 18px;
  851. padding-bottom: 6px;
  852. width: auto;
  853. transition: background 300ms linear;
  854. }
  855. &.copied {
  856. border-color: $valid-value-color;
  857. transition: none;
  858. button {
  859. background: $valid-value-color;
  860. transition: none;
  861. }
  862. }
  863. }
  864. .input.user_confirm_password,
  865. .input.user_website {
  866. &:not(.field_with_errors) {
  867. display: none;
  868. }
  869. }
  870. .permissions-list {
  871. &__item {
  872. padding: 15px;
  873. color: $ui-secondary-color;
  874. border-bottom: 1px solid lighten($ui-base-color, 4%);
  875. display: flex;
  876. align-items: center;
  877. &__text {
  878. flex: 1 1 auto;
  879. &__title {
  880. font-weight: 500;
  881. }
  882. &__type {
  883. color: $darker-text-color;
  884. }
  885. }
  886. &__icon {
  887. flex: 0 0 auto;
  888. font-size: 18px;
  889. width: 30px;
  890. color: $valid-value-color;
  891. display: flex;
  892. align-items: center;
  893. }
  894. &:last-child {
  895. border-bottom: 0;
  896. padding-bottom: 0;
  897. }
  898. }
  899. }
  900. .keywords-table {
  901. thead {
  902. th {
  903. white-space: nowrap;
  904. }
  905. th:first-child {
  906. width: 100%;
  907. }
  908. }
  909. tfoot {
  910. td {
  911. border: 0;
  912. }
  913. }
  914. .input.string {
  915. margin-bottom: 0;
  916. }
  917. .label_input__wrapper {
  918. margin-top: 10px;
  919. }
  920. .table-action-link {
  921. margin-top: 10px;
  922. white-space: nowrap;
  923. }
  924. }