forms.scss 18 KB

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