forms.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107
  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.with_block_label.user_role_permissions_as_keys ul {
  213. columns: unset;
  214. }
  215. .input.datetime .label_input select {
  216. display: inline-block;
  217. width: auto;
  218. flex: 0;
  219. }
  220. .required abbr {
  221. text-decoration: none;
  222. color: lighten($error-value-color, 12%);
  223. }
  224. .fields-group {
  225. margin-bottom: 25px;
  226. .input:last-child {
  227. margin-bottom: 0;
  228. }
  229. }
  230. .fields-row {
  231. display: flex;
  232. margin: 0 -10px;
  233. padding-top: 5px;
  234. margin-bottom: 25px;
  235. .input {
  236. max-width: none;
  237. }
  238. &__column {
  239. box-sizing: border-box;
  240. padding: 0 10px;
  241. flex: 1 1 auto;
  242. min-height: 1px;
  243. &-6 {
  244. max-width: 50%;
  245. }
  246. .actions {
  247. margin-top: 27px;
  248. }
  249. }
  250. .fields-group:last-child,
  251. .fields-row__column.fields-group {
  252. margin-bottom: 0;
  253. }
  254. @media screen and (max-width: $no-columns-breakpoint) {
  255. display: block;
  256. margin-bottom: 0;
  257. &__column {
  258. max-width: none;
  259. }
  260. .fields-group:last-child,
  261. .fields-row__column.fields-group,
  262. .fields-row__column {
  263. margin-bottom: 25px;
  264. }
  265. }
  266. .fields-group.invited-by {
  267. margin-bottom: 30px;
  268. .hint {
  269. text-align: center;
  270. }
  271. }
  272. }
  273. .input.radio_buttons .radio label {
  274. margin-bottom: 5px;
  275. font-family: inherit;
  276. font-size: 14px;
  277. color: $primary-text-color;
  278. display: block;
  279. width: auto;
  280. }
  281. .check_boxes {
  282. .checkbox {
  283. label {
  284. font-family: inherit;
  285. font-size: 14px;
  286. color: $primary-text-color;
  287. display: inline-block;
  288. width: auto;
  289. position: relative;
  290. padding-top: 5px;
  291. padding-left: 25px;
  292. flex: 1 1 auto;
  293. }
  294. input[type="checkbox"] {
  295. position: absolute;
  296. left: 0;
  297. top: 5px;
  298. margin: 0;
  299. }
  300. }
  301. }
  302. .input.static .label_input__wrapper {
  303. font-size: 16px;
  304. padding: 10px;
  305. border: 1px solid $dark-text-color;
  306. border-radius: 4px;
  307. }
  308. input[type="text"],
  309. input[type="number"],
  310. input[type="email"],
  311. input[type="password"],
  312. input[type="url"],
  313. textarea {
  314. box-sizing: border-box;
  315. font-size: 16px;
  316. color: $primary-text-color;
  317. display: block;
  318. width: 100%;
  319. outline: 0;
  320. font-family: inherit;
  321. resize: vertical;
  322. background: darken($ui-base-color, 10%);
  323. border: 1px solid darken($ui-base-color, 14%);
  324. border-radius: 4px;
  325. padding: 10px;
  326. &::placeholder {
  327. color: lighten($darker-text-color, 4%);
  328. }
  329. &:invalid {
  330. box-shadow: none;
  331. }
  332. &:required:valid {
  333. border-color: $valid-value-color;
  334. }
  335. &:hover {
  336. border-color: darken($ui-base-color, 20%);
  337. }
  338. &:active,
  339. &:focus {
  340. border-color: $highlight-text-color;
  341. background: darken($ui-base-color, 8%);
  342. }
  343. }
  344. input[type="text"],
  345. input[type="number"],
  346. input[type="email"],
  347. input[type="password"] {
  348. &:focus:invalid:not(:placeholder-shown),
  349. &:required:invalid:not(:placeholder-shown) {
  350. border-color: lighten($error-red, 12%);
  351. }
  352. }
  353. .input.field_with_errors {
  354. label {
  355. color: lighten($error-red, 12%);
  356. }
  357. input[type="text"],
  358. input[type="number"],
  359. input[type="email"],
  360. input[type="password"],
  361. textarea,
  362. select {
  363. border-color: lighten($error-red, 12%);
  364. }
  365. .error {
  366. display: block;
  367. font-weight: 500;
  368. color: lighten($error-red, 12%);
  369. margin-top: 4px;
  370. }
  371. }
  372. .input.disabled {
  373. opacity: 0.5;
  374. }
  375. .actions {
  376. margin-top: 30px;
  377. display: flex;
  378. &.actions--top {
  379. margin-top: 0;
  380. margin-bottom: 30px;
  381. }
  382. }
  383. button,
  384. .button,
  385. .block-button {
  386. display: block;
  387. width: 100%;
  388. border: 0;
  389. border-radius: 4px;
  390. background: darken($ui-highlight-color, 2%);
  391. color: $primary-text-color;
  392. font-size: 18px;
  393. line-height: inherit;
  394. height: auto;
  395. padding: 10px;
  396. text-decoration: none;
  397. text-transform: uppercase;
  398. text-align: center;
  399. box-sizing: border-box;
  400. cursor: pointer;
  401. font-weight: 500;
  402. outline: 0;
  403. margin-bottom: 10px;
  404. margin-right: 10px;
  405. &:last-child {
  406. margin-right: 0;
  407. }
  408. &:active,
  409. &:focus,
  410. &:hover {
  411. background-color: $ui-highlight-color;
  412. }
  413. &:disabled:hover {
  414. background-color: $ui-primary-color;
  415. }
  416. &.negative {
  417. background: $error-value-color;
  418. &:hover {
  419. background-color: lighten($error-value-color, 5%);
  420. }
  421. &:active,
  422. &:focus {
  423. background-color: darken($error-value-color, 5%);
  424. }
  425. }
  426. }
  427. select {
  428. appearance: none;
  429. box-sizing: border-box;
  430. font-size: 16px;
  431. color: $primary-text-color;
  432. display: block;
  433. width: 100%;
  434. outline: 0;
  435. font-family: inherit;
  436. resize: vertical;
  437. 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;
  438. border: 1px solid darken($ui-base-color, 14%);
  439. border-radius: 4px;
  440. padding-left: 10px;
  441. padding-right: 30px;
  442. height: 41px;
  443. }
  444. h4 {
  445. margin-bottom: 15px !important;
  446. }
  447. .label_input {
  448. &__wrapper {
  449. position: relative;
  450. }
  451. &__append {
  452. position: absolute;
  453. right: 3px;
  454. top: 1px;
  455. padding: 10px;
  456. padding-bottom: 9px;
  457. font-size: 16px;
  458. color: $dark-text-color;
  459. font-family: inherit;
  460. pointer-events: none;
  461. cursor: default;
  462. max-width: 140px;
  463. white-space: nowrap;
  464. overflow: hidden;
  465. &::after {
  466. content: '';
  467. display: block;
  468. position: absolute;
  469. top: 0;
  470. right: 0;
  471. bottom: 1px;
  472. width: 5px;
  473. background-image: linear-gradient(to right, rgba(darken($ui-base-color, 10%), 0), darken($ui-base-color, 10%));
  474. }
  475. }
  476. }
  477. &__overlay-area {
  478. position: relative;
  479. &__blurred form {
  480. filter: blur(2px);
  481. }
  482. &__overlay {
  483. position: absolute;
  484. top: 0;
  485. left: 0;
  486. width: 100%;
  487. height: 100%;
  488. display: flex;
  489. justify-content: center;
  490. align-items: center;
  491. background: rgba($ui-base-color, 0.65);
  492. border-radius: 4px;
  493. margin-left: -4px;
  494. margin-top: -4px;
  495. padding: 4px;
  496. &__content {
  497. text-align: center;
  498. &.rich-formatting {
  499. &,
  500. p {
  501. color: $primary-text-color;
  502. }
  503. }
  504. }
  505. }
  506. }
  507. }
  508. .block-icon {
  509. display: block;
  510. margin: 0 auto;
  511. margin-bottom: 10px;
  512. font-size: 24px;
  513. }
  514. .flash-message {
  515. background: lighten($ui-base-color, 8%);
  516. color: $darker-text-color;
  517. border-radius: 4px;
  518. padding: 15px 10px;
  519. margin-bottom: 30px;
  520. text-align: center;
  521. &.notice {
  522. border: 1px solid rgba($valid-value-color, 0.5);
  523. background: rgba($valid-value-color, 0.25);
  524. color: $valid-value-color;
  525. }
  526. &.warning {
  527. border: 1px solid rgba($gold-star, 0.5);
  528. background: rgba($gold-star, 0.25);
  529. color: $gold-star;
  530. }
  531. &.alert {
  532. border: 1px solid rgba($error-value-color, 0.5);
  533. background: rgba($error-value-color, 0.1);
  534. color: $error-value-color;
  535. }
  536. &.hidden {
  537. display: none;
  538. }
  539. a {
  540. display: inline-block;
  541. color: $darker-text-color;
  542. text-decoration: none;
  543. &:hover {
  544. color: $primary-text-color;
  545. text-decoration: underline;
  546. }
  547. }
  548. &.warning a {
  549. font-weight: 700;
  550. color: inherit;
  551. text-decoration: underline;
  552. &:hover,
  553. &:focus,
  554. &:active {
  555. text-decoration: none;
  556. color: inherit;
  557. }
  558. }
  559. p {
  560. margin-bottom: 15px;
  561. }
  562. .oauth-code {
  563. outline: 0;
  564. box-sizing: border-box;
  565. display: block;
  566. width: 100%;
  567. border: 0;
  568. padding: 10px;
  569. font-family: $font-monospace, monospace;
  570. background: $ui-base-color;
  571. color: $primary-text-color;
  572. font-size: 14px;
  573. margin: 0;
  574. &::-moz-focus-inner {
  575. border: 0;
  576. }
  577. &::-moz-focus-inner,
  578. &:focus,
  579. &:active {
  580. outline: 0 !important;
  581. }
  582. &:focus {
  583. background: lighten($ui-base-color, 4%);
  584. }
  585. }
  586. strong {
  587. font-weight: 500;
  588. @each $lang in $cjk-langs {
  589. &:lang(#{$lang}) {
  590. font-weight: 700;
  591. }
  592. }
  593. }
  594. @media screen and (max-width: 740px) and (min-width: 441px) {
  595. margin-top: 40px;
  596. }
  597. &.translation-prompt {
  598. text-align: unset;
  599. color: unset;
  600. a {
  601. text-decoration: underline;
  602. }
  603. }
  604. }
  605. .flash-message-stack {
  606. margin-bottom: 30px;
  607. .flash-message {
  608. border-radius: 0;
  609. margin-bottom: 0;
  610. border-top-width: 0;
  611. &:first-child {
  612. border-radius: 4px 4px 0 0;
  613. border-top-width: 1px;
  614. }
  615. &:last-child {
  616. border-radius: 0 0 4px 4px;
  617. &:first-child {
  618. border-radius: 4px;
  619. }
  620. }
  621. }
  622. }
  623. .form-footer {
  624. margin-top: 30px;
  625. text-align: center;
  626. a {
  627. color: $darker-text-color;
  628. text-decoration: none;
  629. &:hover {
  630. text-decoration: underline;
  631. }
  632. }
  633. }
  634. .quick-nav {
  635. list-style: none;
  636. margin-bottom: 25px;
  637. font-size: 14px;
  638. li {
  639. display: inline-block;
  640. margin-right: 10px;
  641. }
  642. a {
  643. color: $highlight-text-color;
  644. text-transform: uppercase;
  645. text-decoration: none;
  646. font-weight: 700;
  647. &:hover,
  648. &:focus,
  649. &:active {
  650. color: lighten($highlight-text-color, 8%);
  651. }
  652. }
  653. }
  654. .oauth-prompt,
  655. .follow-prompt {
  656. margin-bottom: 30px;
  657. color: $darker-text-color;
  658. h2 {
  659. font-size: 16px;
  660. margin-bottom: 30px;
  661. text-align: center;
  662. }
  663. strong {
  664. color: $secondary-text-color;
  665. font-weight: 500;
  666. @each $lang in $cjk-langs {
  667. &:lang(#{$lang}) {
  668. font-weight: 700;
  669. }
  670. }
  671. }
  672. }
  673. .oauth-prompt {
  674. h3 {
  675. color: $ui-secondary-color;
  676. font-size: 17px;
  677. line-height: 22px;
  678. font-weight: 500;
  679. margin-bottom: 30px;
  680. }
  681. p {
  682. font-size: 14px;
  683. line-height: 18px;
  684. margin-bottom: 30px;
  685. }
  686. .permissions-list {
  687. border: 1px solid $ui-base-color;
  688. border-radius: 4px;
  689. background: darken($ui-base-color, 4%);
  690. margin-bottom: 30px;
  691. }
  692. .actions {
  693. margin: 0 -10px;
  694. display: flex;
  695. form {
  696. box-sizing: border-box;
  697. padding: 0 10px;
  698. flex: 1 1 auto;
  699. min-height: 1px;
  700. width: 50%;
  701. }
  702. }
  703. }
  704. .qr-wrapper {
  705. display: flex;
  706. flex-wrap: wrap;
  707. align-items: flex-start;
  708. }
  709. .qr-code {
  710. flex: 0 0 auto;
  711. background: $simple-background-color;
  712. padding: 4px;
  713. margin: 0 10px 20px 0;
  714. box-shadow: 0 0 15px rgba($base-shadow-color, 0.2);
  715. display: inline-block;
  716. svg {
  717. display: block;
  718. margin: 0;
  719. }
  720. }
  721. .qr-alternative {
  722. margin-bottom: 20px;
  723. color: $secondary-text-color;
  724. flex: 150px;
  725. samp {
  726. display: block;
  727. font-size: 14px;
  728. }
  729. }
  730. .table-form {
  731. p {
  732. margin-bottom: 15px;
  733. strong {
  734. font-weight: 500;
  735. @each $lang in $cjk-langs {
  736. &:lang(#{$lang}) {
  737. font-weight: 700;
  738. }
  739. }
  740. }
  741. }
  742. }
  743. .simple_form,
  744. .table-form {
  745. .warning {
  746. box-sizing: border-box;
  747. background: rgba($error-value-color, 0.5);
  748. color: $primary-text-color;
  749. text-shadow: 1px 1px 0 rgba($base-shadow-color, 0.3);
  750. box-shadow: 0 2px 6px rgba($base-shadow-color, 0.4);
  751. border-radius: 4px;
  752. padding: 10px;
  753. margin-bottom: 15px;
  754. a {
  755. color: $primary-text-color;
  756. text-decoration: underline;
  757. &:hover,
  758. &:focus,
  759. &:active {
  760. text-decoration: none;
  761. }
  762. }
  763. strong {
  764. font-weight: 600;
  765. display: block;
  766. margin-bottom: 5px;
  767. @each $lang in $cjk-langs {
  768. &:lang(#{$lang}) {
  769. font-weight: 700;
  770. }
  771. }
  772. .fa {
  773. font-weight: 400;
  774. }
  775. }
  776. }
  777. }
  778. .action-pagination {
  779. display: flex;
  780. flex-wrap: wrap;
  781. align-items: center;
  782. .actions,
  783. .pagination {
  784. flex: 1 1 auto;
  785. }
  786. .actions {
  787. padding: 30px 0;
  788. padding-right: 20px;
  789. flex: 0 0 auto;
  790. }
  791. }
  792. .post-follow-actions {
  793. text-align: center;
  794. color: $darker-text-color;
  795. div {
  796. margin-bottom: 4px;
  797. }
  798. }
  799. .alternative-login {
  800. margin-top: 20px;
  801. margin-bottom: 20px;
  802. h4 {
  803. font-size: 16px;
  804. color: $primary-text-color;
  805. text-align: center;
  806. margin-bottom: 20px;
  807. border: 0;
  808. padding: 0;
  809. }
  810. .button {
  811. display: block;
  812. }
  813. }
  814. .scope-danger {
  815. color: $warning-red;
  816. }
  817. .form_admin_settings_site_short_description,
  818. .form_admin_settings_site_description,
  819. .form_admin_settings_site_extended_description,
  820. .form_admin_settings_site_terms,
  821. .form_admin_settings_custom_css,
  822. .form_admin_settings_closed_registrations_message {
  823. textarea {
  824. font-family: $font-monospace, monospace;
  825. }
  826. }
  827. .input-copy {
  828. background: darken($ui-base-color, 10%);
  829. border: 1px solid darken($ui-base-color, 14%);
  830. border-radius: 4px;
  831. display: flex;
  832. align-items: center;
  833. padding-right: 4px;
  834. position: relative;
  835. top: 1px;
  836. transition: border-color 300ms linear;
  837. &__wrapper {
  838. flex: 1 1 auto;
  839. }
  840. input[type="text"] {
  841. background: transparent;
  842. border: 0;
  843. padding: 10px;
  844. font-size: 14px;
  845. font-family: $font-monospace, monospace;
  846. }
  847. button {
  848. flex: 0 0 auto;
  849. margin: 4px;
  850. text-transform: none;
  851. font-weight: 400;
  852. font-size: 14px;
  853. padding: 7px 18px;
  854. padding-bottom: 6px;
  855. width: auto;
  856. transition: background 300ms linear;
  857. }
  858. &.copied {
  859. border-color: $valid-value-color;
  860. transition: none;
  861. button {
  862. background: $valid-value-color;
  863. transition: none;
  864. }
  865. }
  866. }
  867. .input.user_confirm_password,
  868. .input.user_website {
  869. &:not(.field_with_errors) {
  870. display: none;
  871. }
  872. }
  873. .permissions-list {
  874. &__item {
  875. padding: 15px;
  876. color: $ui-secondary-color;
  877. border-bottom: 1px solid lighten($ui-base-color, 4%);
  878. display: flex;
  879. align-items: center;
  880. &__text {
  881. flex: 1 1 auto;
  882. &__title {
  883. font-weight: 500;
  884. }
  885. &__type {
  886. color: $darker-text-color;
  887. }
  888. }
  889. &__icon {
  890. flex: 0 0 auto;
  891. font-size: 18px;
  892. width: 30px;
  893. color: $valid-value-color;
  894. display: flex;
  895. align-items: center;
  896. }
  897. &:last-child {
  898. border-bottom: 0;
  899. padding-bottom: 0;
  900. }
  901. }
  902. }
  903. .keywords-table {
  904. thead {
  905. th {
  906. white-space: nowrap;
  907. }
  908. th:first-child {
  909. width: 100%;
  910. }
  911. }
  912. tfoot {
  913. td {
  914. border: 0;
  915. }
  916. }
  917. .input.string {
  918. margin-bottom: 0;
  919. }
  920. .label_input__wrapper {
  921. margin-top: 10px;
  922. }
  923. .table-action-link {
  924. margin-top: 10px;
  925. white-space: nowrap;
  926. }
  927. }