The code powering m.abunchtell.com https://m.abunchtell.com
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

5508 lignes
93 KiB

  1. .app-body {
  2. -webkit-overflow-scrolling: touch;
  3. -ms-overflow-style: -ms-autohiding-scrollbar;
  4. }
  5. .button {
  6. background-color: $ui-highlight-color;
  7. border: 10px none;
  8. border-radius: 4px;
  9. box-sizing: border-box;
  10. color: $primary-text-color;
  11. cursor: pointer;
  12. display: inline-block;
  13. font-family: inherit;
  14. font-size: 14px;
  15. font-weight: 500;
  16. height: 36px;
  17. letter-spacing: 0;
  18. line-height: 36px;
  19. overflow: hidden;
  20. padding: 0 16px;
  21. position: relative;
  22. text-align: center;
  23. text-transform: uppercase;
  24. text-decoration: none;
  25. text-overflow: ellipsis;
  26. transition: all 100ms ease-in;
  27. white-space: nowrap;
  28. width: auto;
  29. &:active,
  30. &:focus,
  31. &:hover {
  32. background-color: lighten($ui-highlight-color, 10%);
  33. transition: all 200ms ease-out;
  34. }
  35. &--destructive {
  36. transition: none;
  37. &:active,
  38. &:focus,
  39. &:hover {
  40. background-color: $error-red;
  41. transition: none;
  42. }
  43. }
  44. &:disabled,
  45. &.disabled {
  46. background-color: $ui-primary-color;
  47. cursor: default;
  48. }
  49. &::-moz-focus-inner {
  50. border: 0;
  51. }
  52. &::-moz-focus-inner,
  53. &:focus,
  54. &:active {
  55. outline: 0 !important;
  56. }
  57. &.button-primary,
  58. &.button-alternative,
  59. &.button-secondary,
  60. &.button-alternative-2 {
  61. font-size: 16px;
  62. line-height: 36px;
  63. height: auto;
  64. text-transform: none;
  65. padding: 4px 16px;
  66. }
  67. &.button-alternative {
  68. color: $inverted-text-color;
  69. background: $ui-primary-color;
  70. &:active,
  71. &:focus,
  72. &:hover {
  73. background-color: lighten($ui-primary-color, 4%);
  74. }
  75. }
  76. &.button-alternative-2 {
  77. background: $ui-base-lighter-color;
  78. &:active,
  79. &:focus,
  80. &:hover {
  81. background-color: lighten($ui-base-lighter-color, 4%);
  82. }
  83. }
  84. &.button-secondary {
  85. color: $darker-text-color;
  86. background: transparent;
  87. padding: 3px 15px;
  88. border: 1px solid $ui-primary-color;
  89. &:active,
  90. &:focus,
  91. &:hover {
  92. border-color: lighten($ui-primary-color, 4%);
  93. color: lighten($darker-text-color, 4%);
  94. }
  95. &:disabled {
  96. opacity: 0.5;
  97. }
  98. }
  99. &.button--block {
  100. display: block;
  101. width: 100%;
  102. }
  103. }
  104. .column__wrapper {
  105. display: flex;
  106. flex: 1 1 auto;
  107. position: relative;
  108. }
  109. .icon-button {
  110. display: inline-block;
  111. padding: 0;
  112. color: $action-button-color;
  113. border: none;
  114. background: transparent;
  115. cursor: pointer;
  116. transition: color 100ms ease-in;
  117. &:hover,
  118. &:active,
  119. &:focus {
  120. color: lighten($action-button-color, 7%);
  121. transition: color 200ms ease-out;
  122. }
  123. &.disabled {
  124. color: darken($action-button-color, 13%);
  125. cursor: default;
  126. }
  127. &.active {
  128. color: $highlight-text-color;
  129. }
  130. &::-moz-focus-inner {
  131. border: 0;
  132. }
  133. &::-moz-focus-inner,
  134. &:focus,
  135. &:active {
  136. outline: 0 !important;
  137. }
  138. &.inverted {
  139. color: $lighter-text-color;
  140. &:hover,
  141. &:active,
  142. &:focus {
  143. color: darken($lighter-text-color, 7%);
  144. }
  145. &.disabled {
  146. color: lighten($lighter-text-color, 7%);
  147. }
  148. &.active {
  149. color: $highlight-text-color;
  150. &.disabled {
  151. color: lighten($highlight-text-color, 13%);
  152. }
  153. }
  154. }
  155. &.overlayed {
  156. box-sizing: content-box;
  157. background: rgba($base-overlay-background, 0.6);
  158. color: rgba($primary-text-color, 0.7);
  159. border-radius: 4px;
  160. padding: 2px;
  161. &:hover {
  162. background: rgba($base-overlay-background, 0.9);
  163. }
  164. }
  165. }
  166. .text-icon-button {
  167. color: $lighter-text-color;
  168. border: none;
  169. background: transparent;
  170. cursor: pointer;
  171. font-weight: 600;
  172. font-size: 11px;
  173. padding: 0 3px;
  174. line-height: 27px;
  175. outline: 0;
  176. transition: color 100ms ease-in;
  177. &:hover,
  178. &:active,
  179. &:focus {
  180. color: darken($lighter-text-color, 7%);
  181. transition: color 200ms ease-out;
  182. }
  183. &.disabled {
  184. color: lighten($lighter-text-color, 20%);
  185. cursor: default;
  186. }
  187. &.active {
  188. color: $highlight-text-color;
  189. }
  190. &::-moz-focus-inner {
  191. border: 0;
  192. }
  193. &::-moz-focus-inner,
  194. &:focus,
  195. &:active {
  196. outline: 0 !important;
  197. }
  198. }
  199. .dropdown-menu {
  200. position: absolute;
  201. }
  202. .invisible {
  203. font-size: 0;
  204. line-height: 0;
  205. display: inline-block;
  206. width: 0;
  207. height: 0;
  208. position: absolute;
  209. img,
  210. svg {
  211. margin: 0 !important;
  212. border: 0 !important;
  213. padding: 0 !important;
  214. width: 0 !important;
  215. height: 0 !important;
  216. }
  217. }
  218. .ellipsis {
  219. &::after {
  220. content: "…";
  221. }
  222. }
  223. .compose-form {
  224. padding: 10px;
  225. .compose-form__warning {
  226. color: $inverted-text-color;
  227. margin-bottom: 10px;
  228. background: $ui-primary-color;
  229. box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
  230. padding: 8px 10px;
  231. border-radius: 4px;
  232. font-size: 13px;
  233. font-weight: 400;
  234. strong {
  235. color: $inverted-text-color;
  236. font-weight: 500;
  237. @each $lang in $cjk-langs {
  238. &:lang(#{$lang}) {
  239. font-weight: 700;
  240. }
  241. }
  242. }
  243. a {
  244. color: $lighter-text-color;
  245. font-weight: 500;
  246. text-decoration: underline;
  247. &:hover,
  248. &:active,
  249. &:focus {
  250. text-decoration: none;
  251. }
  252. }
  253. }
  254. .compose-form__autosuggest-wrapper {
  255. position: relative;
  256. .emoji-picker-dropdown {
  257. position: absolute;
  258. right: 5px;
  259. top: 5px;
  260. }
  261. }
  262. .autosuggest-textarea,
  263. .spoiler-input {
  264. position: relative;
  265. }
  266. .spoiler-input {
  267. height: 0;
  268. transform-origin: bottom;
  269. opacity: 0.0;
  270. &.spoiler-input--visible {
  271. height: 47px;
  272. opacity: 1.0;
  273. }
  274. }
  275. .autosuggest-textarea__textarea,
  276. .spoiler-input__input {
  277. display: block;
  278. box-sizing: border-box;
  279. width: 100%;
  280. margin: 0;
  281. color: $inverted-text-color;
  282. background: $simple-background-color;
  283. padding: 10px;
  284. font-family: inherit;
  285. font-size: 14px;
  286. resize: vertical;
  287. border: 0;
  288. outline: 0;
  289. &:focus {
  290. outline: 0;
  291. }
  292. @media screen and (max-width: 600px) {
  293. font-size: 16px;
  294. }
  295. }
  296. .spoiler-input__input {
  297. border-radius: 4px;
  298. }
  299. .autosuggest-textarea__textarea {
  300. min-height: 100px;
  301. border-radius: 4px 4px 0 0;
  302. padding-bottom: 0;
  303. padding-right: 10px + 22px;
  304. resize: none;
  305. scrollbar-color: initial;
  306. &::-webkit-scrollbar {
  307. all: unset;
  308. }
  309. @media screen and (max-width: 600px) {
  310. height: 100px !important; // prevent auto-resize textarea
  311. resize: vertical;
  312. }
  313. }
  314. .autosuggest-textarea__suggestions {
  315. box-sizing: border-box;
  316. display: none;
  317. position: absolute;
  318. top: 100%;
  319. width: 100%;
  320. z-index: 99;
  321. box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
  322. background: $ui-secondary-color;
  323. border-radius: 0 0 4px 4px;
  324. color: $inverted-text-color;
  325. font-size: 14px;
  326. padding: 6px;
  327. &.autosuggest-textarea__suggestions--visible {
  328. display: block;
  329. }
  330. }
  331. .autosuggest-textarea__suggestions__item {
  332. padding: 10px;
  333. cursor: pointer;
  334. border-radius: 4px;
  335. &:hover,
  336. &:focus,
  337. &:active,
  338. &.selected {
  339. background: darken($ui-secondary-color, 10%);
  340. }
  341. }
  342. .autosuggest-account,
  343. .autosuggest-emoji {
  344. display: flex;
  345. flex-direction: row;
  346. align-items: center;
  347. justify-content: flex-start;
  348. line-height: 18px;
  349. font-size: 14px;
  350. }
  351. .autosuggest-account-icon,
  352. .autosuggest-emoji img {
  353. display: block;
  354. margin-right: 8px;
  355. width: 16px;
  356. height: 16px;
  357. }
  358. .autosuggest-account .display-name__account {
  359. color: $lighter-text-color;
  360. }
  361. .compose-form__modifiers {
  362. color: $inverted-text-color;
  363. font-family: inherit;
  364. font-size: 14px;
  365. background: $simple-background-color;
  366. .compose-form__upload-wrapper {
  367. overflow: hidden;
  368. }
  369. .compose-form__uploads-wrapper {
  370. display: flex;
  371. flex-direction: row;
  372. padding: 5px;
  373. flex-wrap: wrap;
  374. }
  375. .compose-form__upload {
  376. flex: 1 1 0;
  377. min-width: 40%;
  378. margin: 5px;
  379. &__actions {
  380. background: linear-gradient(180deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
  381. display: flex;
  382. align-items: flex-start;
  383. justify-content: space-between;
  384. opacity: 0;
  385. transition: opacity .1s ease;
  386. .icon-button {
  387. flex: 0 1 auto;
  388. color: $secondary-text-color;
  389. font-size: 14px;
  390. font-weight: 500;
  391. padding: 10px;
  392. font-family: inherit;
  393. &:hover,
  394. &:focus,
  395. &:active {
  396. color: lighten($secondary-text-color, 7%);
  397. }
  398. }
  399. &.active {
  400. opacity: 1;
  401. }
  402. }
  403. &-description {
  404. position: absolute;
  405. z-index: 2;
  406. bottom: 0;
  407. left: 0;
  408. right: 0;
  409. box-sizing: border-box;
  410. background: linear-gradient(0deg, rgba($base-shadow-color, 0.8) 0, rgba($base-shadow-color, 0.35) 80%, transparent);
  411. padding: 10px;
  412. opacity: 0;
  413. transition: opacity .1s ease;
  414. textarea {
  415. background: transparent;
  416. color: $secondary-text-color;
  417. border: 0;
  418. padding: 0;
  419. margin: 0;
  420. width: 100%;
  421. font-family: inherit;
  422. font-size: 14px;
  423. font-weight: 500;
  424. &:focus {
  425. color: $white;
  426. }
  427. &::placeholder {
  428. opacity: 0.75;
  429. color: $secondary-text-color;
  430. }
  431. }
  432. &.active {
  433. opacity: 1;
  434. }
  435. }
  436. }
  437. .compose-form__upload-thumbnail {
  438. border-radius: 4px;
  439. background-position: center;
  440. background-size: cover;
  441. background-repeat: no-repeat;
  442. height: 140px;
  443. width: 100%;
  444. overflow: hidden;
  445. }
  446. }
  447. .compose-form__buttons-wrapper {
  448. padding: 10px;
  449. background: darken($simple-background-color, 8%);
  450. border-radius: 0 0 4px 4px;
  451. display: flex;
  452. justify-content: space-between;
  453. .compose-form__buttons {
  454. display: flex;
  455. .compose-form__upload-button-icon {
  456. line-height: 27px;
  457. }
  458. .compose-form__sensitive-button {
  459. display: none;
  460. &.compose-form__sensitive-button--visible {
  461. display: block;
  462. }
  463. .compose-form__sensitive-button__icon {
  464. line-height: 27px;
  465. }
  466. }
  467. }
  468. .icon-button {
  469. box-sizing: content-box;
  470. padding: 0 3px;
  471. }
  472. .character-counter__wrapper {
  473. align-self: center;
  474. margin-right: 4px;
  475. .character-counter {
  476. cursor: default;
  477. font-family: $font-sans-serif, sans-serif;
  478. font-size: 14px;
  479. font-weight: 600;
  480. color: $lighter-text-color;
  481. &.character-counter--over {
  482. color: $warning-red;
  483. }
  484. }
  485. }
  486. }
  487. .compose-form__publish {
  488. display: flex;
  489. justify-content: flex-end;
  490. min-width: 0;
  491. .compose-form__publish-button-wrapper {
  492. overflow: hidden;
  493. padding-top: 10px;
  494. }
  495. }
  496. }
  497. .no-reduce-motion .spoiler-input {
  498. transition: height 0.4s ease, opacity 0.4s ease;
  499. }
  500. .emojione {
  501. font-size: inherit;
  502. vertical-align: middle;
  503. object-fit: contain;
  504. margin: -.2ex .15em .2ex;
  505. width: 16px;
  506. height: 16px;
  507. img {
  508. width: auto;
  509. }
  510. }
  511. .reply-indicator {
  512. border-radius: 4px;
  513. margin-bottom: 10px;
  514. background: $ui-primary-color;
  515. padding: 10px;
  516. }
  517. .reply-indicator__header {
  518. margin-bottom: 5px;
  519. overflow: hidden;
  520. }
  521. .reply-indicator__cancel {
  522. float: right;
  523. line-height: 24px;
  524. }
  525. .reply-indicator__display-name {
  526. color: $inverted-text-color;
  527. display: block;
  528. max-width: 100%;
  529. line-height: 24px;
  530. overflow: hidden;
  531. padding-right: 25px;
  532. text-decoration: none;
  533. }
  534. .reply-indicator__display-avatar {
  535. float: left;
  536. margin-right: 5px;
  537. }
  538. .status__content--with-action {
  539. cursor: pointer;
  540. }
  541. .status__content,
  542. .reply-indicator__content {
  543. position: relative;
  544. font-size: 15px;
  545. line-height: 20px;
  546. word-wrap: break-word;
  547. font-weight: 400;
  548. overflow: hidden;
  549. text-overflow: ellipsis;
  550. padding-top: 2px;
  551. color: $primary-text-color;
  552. &:focus {
  553. outline: 0;
  554. }
  555. &.status__content--with-spoiler {
  556. white-space: normal;
  557. .status__content__text {
  558. white-space: pre-wrap;
  559. }
  560. }
  561. .emojione {
  562. width: 20px;
  563. height: 20px;
  564. margin: -3px 0 0;
  565. }
  566. p {
  567. margin-bottom: 20px;
  568. white-space: pre-wrap;
  569. &:last-child {
  570. margin-bottom: 0;
  571. }
  572. }
  573. a {
  574. color: $secondary-text-color;
  575. text-decoration: none;
  576. &:hover {
  577. text-decoration: underline;
  578. .fa {
  579. color: lighten($dark-text-color, 7%);
  580. }
  581. }
  582. &.mention {
  583. &:hover {
  584. text-decoration: none;
  585. span {
  586. text-decoration: underline;
  587. }
  588. }
  589. }
  590. .fa {
  591. color: $dark-text-color;
  592. }
  593. }
  594. .status__content__spoiler-link {
  595. background: $action-button-color;
  596. &:hover {
  597. background: lighten($action-button-color, 7%);
  598. text-decoration: none;
  599. }
  600. &::-moz-focus-inner {
  601. border: 0;
  602. }
  603. &::-moz-focus-inner,
  604. &:focus,
  605. &:active {
  606. outline: 0 !important;
  607. }
  608. }
  609. .status__content__text {
  610. display: none;
  611. &.status__content__text--visible {
  612. display: block;
  613. }
  614. }
  615. }
  616. .status__content.status__content--collapsed {
  617. max-height: 20px * 15; // 15 lines is roughly above 500 characters
  618. }
  619. .status__content__read-more-button {
  620. display: block;
  621. font-size: 15px;
  622. line-height: 20px;
  623. color: lighten($ui-highlight-color, 8%);
  624. border: 0;
  625. background: transparent;
  626. padding: 0;
  627. padding-top: 8px;
  628. &:hover,
  629. &:active {
  630. text-decoration: underline;
  631. }
  632. }
  633. .status__content__spoiler-link {
  634. display: inline-block;
  635. border-radius: 2px;
  636. background: transparent;
  637. border: 0;
  638. color: $inverted-text-color;
  639. font-weight: 700;
  640. font-size: 11px;
  641. padding: 0 6px;
  642. text-transform: uppercase;
  643. line-height: 20px;
  644. cursor: pointer;
  645. vertical-align: middle;
  646. }
  647. .status__wrapper--filtered {
  648. color: $dark-text-color;
  649. border: 0;
  650. font-size: inherit;
  651. text-align: center;
  652. line-height: inherit;
  653. margin: 0;
  654. padding: 15px;
  655. box-sizing: border-box;
  656. width: 100%;
  657. clear: both;
  658. border-bottom: 1px solid lighten($ui-base-color, 8%);
  659. }
  660. .status__prepend-icon-wrapper {
  661. left: -26px;
  662. position: absolute;
  663. }
  664. .focusable {
  665. &:focus {
  666. outline: 0;
  667. background: lighten($ui-base-color, 4%);
  668. .status.status-direct {
  669. background: lighten($ui-base-color, 12%);
  670. &.muted {
  671. background: transparent;
  672. }
  673. }
  674. .detailed-status,
  675. .detailed-status__action-bar {
  676. background: lighten($ui-base-color, 8%);
  677. }
  678. }
  679. }
  680. .status {
  681. padding: 8px 10px;
  682. padding-left: 68px;
  683. position: relative;
  684. min-height: 54px;
  685. border-bottom: 1px solid lighten($ui-base-color, 8%);
  686. cursor: default;
  687. @supports (-ms-overflow-style: -ms-autohiding-scrollbar) {
  688. // Add margin to avoid Edge auto-hiding scrollbar appearing over content.
  689. // On Edge 16 this is 16px and Edge <=15 it's 12px, so aim for 16px.
  690. padding-right: 26px; // 10px + 16px
  691. }
  692. @keyframes fade {
  693. 0% { opacity: 0; }
  694. 100% { opacity: 1; }
  695. }
  696. opacity: 1;
  697. animation: fade 150ms linear;
  698. .video-player {
  699. margin-top: 8px;
  700. }
  701. &.status-direct:not(.read) {
  702. background: lighten($ui-base-color, 8%);
  703. border-bottom-color: lighten($ui-base-color, 12%);
  704. }
  705. &.light {
  706. .status__relative-time {
  707. color: $light-text-color;
  708. }
  709. .status__display-name {
  710. color: $inverted-text-color;
  711. }
  712. .display-name {
  713. strong {
  714. color: $inverted-text-color;
  715. }
  716. span {
  717. color: $light-text-color;
  718. }
  719. }
  720. .status__content {
  721. color: $inverted-text-color;
  722. a {
  723. color: $highlight-text-color;
  724. }
  725. a.status__content__spoiler-link {
  726. color: $primary-text-color;
  727. background: $ui-primary-color;
  728. &:hover {
  729. background: lighten($ui-primary-color, 8%);
  730. }
  731. }
  732. }
  733. }
  734. }
  735. .notification-favourite {
  736. .status.status-direct {
  737. background: transparent;
  738. .icon-button.disabled {
  739. color: lighten($action-button-color, 13%);
  740. }
  741. }
  742. }
  743. .status__relative-time,
  744. .notification__relative_time {
  745. color: $dark-text-color;
  746. float: right;
  747. font-size: 14px;
  748. }
  749. .status__display-name {
  750. color: $dark-text-color;
  751. }
  752. .status__info .status__display-name {
  753. display: block;
  754. max-width: 100%;
  755. padding-right: 25px;
  756. }
  757. .status__info {
  758. font-size: 15px;
  759. }
  760. .status-check-box {
  761. border-bottom: 1px solid $ui-secondary-color;
  762. display: flex;
  763. .status-check-box__status {
  764. margin: 10px 0 10px 10px;
  765. flex: 1;
  766. .media-gallery {
  767. max-width: 250px;
  768. }
  769. .status__content {
  770. padding: 0;
  771. white-space: normal;
  772. }
  773. .video-player {
  774. margin-top: 8px;
  775. max-width: 250px;
  776. }
  777. .media-gallery__item-thumbnail {
  778. cursor: default;
  779. }
  780. }
  781. }
  782. .status-check-box-toggle {
  783. align-items: center;
  784. display: flex;
  785. flex: 0 0 auto;
  786. justify-content: center;
  787. padding: 10px;
  788. }
  789. .status__prepend {
  790. margin-left: 68px;
  791. color: $dark-text-color;
  792. padding: 8px 0;
  793. padding-bottom: 2px;
  794. font-size: 14px;
  795. position: relative;
  796. .status__display-name strong {
  797. color: $dark-text-color;
  798. }
  799. > span {
  800. display: block;
  801. overflow: hidden;
  802. text-overflow: ellipsis;
  803. }
  804. }
  805. .status__action-bar {
  806. align-items: center;
  807. display: flex;
  808. margin-top: 8px;
  809. &__counter {
  810. display: inline-flex;
  811. margin-right: 11px;
  812. align-items: center;
  813. .status__action-bar-button {
  814. margin-right: 4px;
  815. }
  816. &__label {
  817. display: inline-block;
  818. width: 14px;
  819. font-size: 12px;
  820. font-weight: 500;
  821. color: $action-button-color;
  822. }
  823. }
  824. }
  825. .status__action-bar-button {
  826. margin-right: 18px;
  827. }
  828. .status__action-bar-dropdown {
  829. height: 23.15px;
  830. width: 23.15px;
  831. }
  832. .detailed-status__action-bar-dropdown {
  833. flex: 1 1 auto;
  834. display: flex;
  835. align-items: center;
  836. justify-content: center;
  837. position: relative;
  838. }
  839. .detailed-status {
  840. background: lighten($ui-base-color, 4%);
  841. padding: 14px 10px;
  842. &--flex {
  843. display: flex;
  844. flex-wrap: wrap;
  845. justify-content: space-between;
  846. align-items: flex-start;
  847. .status__content,
  848. .detailed-status__meta {
  849. flex: 100%;
  850. }
  851. }
  852. .status__content {
  853. font-size: 19px;
  854. line-height: 24px;
  855. .emojione {
  856. width: 24px;
  857. height: 24px;
  858. margin: -1px 0 0;
  859. }
  860. .status__content__spoiler-link {
  861. line-height: 24px;
  862. margin: -1px 0 0;
  863. }
  864. }
  865. .video-player {
  866. margin-top: 8px;
  867. }
  868. }
  869. .detailed-status__meta {
  870. margin-top: 15px;
  871. color: $dark-text-color;
  872. font-size: 14px;
  873. line-height: 18px;
  874. }
  875. .detailed-status__action-bar {
  876. background: lighten($ui-base-color, 4%);
  877. border-top: 1px solid lighten($ui-base-color, 8%);
  878. border-bottom: 1px solid lighten($ui-base-color, 8%);
  879. display: flex;
  880. flex-direction: row;
  881. padding: 10px 0;
  882. }
  883. .detailed-status__link {
  884. color: inherit;
  885. text-decoration: none;
  886. }
  887. .detailed-status__favorites,
  888. .detailed-status__reblogs {
  889. display: inline-block;
  890. font-weight: 500;
  891. font-size: 12px;
  892. margin-left: 6px;
  893. }
  894. .reply-indicator__content {
  895. color: $inverted-text-color;
  896. font-size: 14px;
  897. a {
  898. color: $lighter-text-color;
  899. }
  900. }
  901. .domain {
  902. padding: 10px;
  903. border-bottom: 1px solid lighten($ui-base-color, 8%);
  904. .domain__domain-name {
  905. flex: 1 1 auto;
  906. display: block;
  907. color: $primary-text-color;
  908. text-decoration: none;
  909. font-size: 14px;
  910. font-weight: 500;
  911. }
  912. }
  913. .domain__wrapper {
  914. display: flex;
  915. }
  916. .domain_buttons {
  917. height: 18px;
  918. padding: 10px;
  919. white-space: nowrap;
  920. }
  921. .account {
  922. padding: 10px;
  923. border-bottom: 1px solid lighten($ui-base-color, 8%);
  924. &.compact {
  925. padding: 0;
  926. border-bottom: 0;
  927. .account__avatar-wrapper {
  928. margin-left: 0;
  929. }
  930. }
  931. .account__display-name {
  932. flex: 1 1 auto;
  933. display: block;
  934. color: $darker-text-color;
  935. overflow: hidden;
  936. text-decoration: none;
  937. font-size: 14px;
  938. }
  939. }
  940. .account__wrapper {
  941. display: flex;
  942. }
  943. .account__avatar-wrapper {
  944. float: left;
  945. margin-left: 12px;
  946. margin-right: 12px;
  947. }
  948. .account__avatar {
  949. @include avatar-radius();
  950. position: relative;
  951. &-inline {
  952. display: inline-block;
  953. vertical-align: middle;
  954. margin-right: 5px;
  955. }
  956. &-composite {
  957. @include avatar-radius();
  958. overflow: hidden;
  959. & > div {
  960. @include avatar-radius();
  961. float: left;
  962. position: relative;
  963. box-sizing: border-box;
  964. }
  965. }
  966. }
  967. a .account__avatar {
  968. cursor: pointer;
  969. }
  970. .account__avatar-overlay {
  971. @include avatar-size(48px);
  972. &-base {
  973. @include avatar-radius();
  974. @include avatar-size(36px);
  975. }
  976. &-overlay {
  977. @include avatar-radius();
  978. @include avatar-size(24px);
  979. position: absolute;
  980. bottom: 0;
  981. right: 0;
  982. z-index: 1;
  983. }
  984. }
  985. .account__relationship {
  986. height: 18px;
  987. padding: 10px;
  988. white-space: nowrap;
  989. }
  990. .account__disclaimer {
  991. padding: 10px;
  992. border-top: 1px solid lighten($ui-base-color, 8%);
  993. color: $dark-text-color;
  994. strong {
  995. font-weight: 500;
  996. @each $lang in $cjk-langs {
  997. &:lang(#{$lang}) {
  998. font-weight: 700;
  999. }
  1000. }
  1001. }
  1002. a {
  1003. font-weight: 500;
  1004. color: inherit;
  1005. text-decoration: underline;
  1006. &:hover,
  1007. &:focus,
  1008. &:active {
  1009. text-decoration: none;
  1010. }
  1011. }
  1012. }
  1013. .account__action-bar {
  1014. border-top: 1px solid lighten($ui-base-color, 8%);
  1015. border-bottom: 1px solid lighten($ui-base-color, 8%);
  1016. line-height: 36px;
  1017. overflow: hidden;
  1018. flex: 0 0 auto;
  1019. display: flex;
  1020. }
  1021. .account__action-bar-dropdown {
  1022. padding: 10px;
  1023. .icon-button {
  1024. vertical-align: middle;
  1025. }
  1026. .dropdown--active {
  1027. .dropdown__content.dropdown__right {
  1028. left: 6px;
  1029. right: initial;
  1030. }
  1031. &::after {
  1032. bottom: initial;
  1033. margin-left: 11px;
  1034. margin-top: -7px;
  1035. right: initial;
  1036. }
  1037. }
  1038. }
  1039. .account__action-bar-links {
  1040. display: flex;
  1041. flex: 1 1 auto;
  1042. line-height: 18px;
  1043. text-align: center;
  1044. }
  1045. .account__action-bar__tab {
  1046. text-decoration: none;
  1047. overflow: hidden;
  1048. flex: 0 1 100%;
  1049. border-right: 1px solid lighten($ui-base-color, 8%);
  1050. padding: 10px 0;
  1051. border-bottom: 4px solid transparent;
  1052. &.active {
  1053. border-bottom: 4px solid $ui-highlight-color;
  1054. }
  1055. & > span {
  1056. display: block;
  1057. text-transform: uppercase;
  1058. font-size: 11px;
  1059. color: $darker-text-color;
  1060. }
  1061. strong {
  1062. display: block;
  1063. font-size: 15px;
  1064. font-weight: 500;
  1065. color: $primary-text-color;
  1066. @each $lang in $cjk-langs {
  1067. &:lang(#{$lang}) {
  1068. font-weight: 700;
  1069. }
  1070. }
  1071. }
  1072. }
  1073. .account-authorize {
  1074. padding: 14px 10px;
  1075. .detailed-status__display-name {
  1076. display: block;
  1077. margin-bottom: 15px;
  1078. overflow: hidden;
  1079. }
  1080. }
  1081. .account-authorize__avatar {
  1082. float: left;
  1083. margin-right: 10px;
  1084. }
  1085. .status__display-name,
  1086. .status__relative-time,
  1087. .detailed-status__display-name,
  1088. .detailed-status__datetime,
  1089. .detailed-status__application,
  1090. .account__display-name {
  1091. text-decoration: none;
  1092. }
  1093. .status__display-name,
  1094. .account__display-name {
  1095. strong {
  1096. color: $primary-text-color;
  1097. }
  1098. }
  1099. .muted {
  1100. .emojione {
  1101. opacity: 0.5;
  1102. }
  1103. }
  1104. .status__display-name,
  1105. .reply-indicator__display-name,
  1106. .detailed-status__display-name,
  1107. a.account__display-name {
  1108. &:hover strong {
  1109. text-decoration: underline;
  1110. }
  1111. }
  1112. .account__display-name strong {
  1113. display: block;
  1114. overflow: hidden;
  1115. text-overflow: ellipsis;
  1116. }
  1117. .detailed-status__application,
  1118. .detailed-status__datetime {
  1119. color: inherit;
  1120. }
  1121. .detailed-status__display-name {
  1122. color: $secondary-text-color;
  1123. display: block;
  1124. line-height: 24px;
  1125. margin-bottom: 15px;
  1126. overflow: hidden;
  1127. strong,
  1128. span {
  1129. display: block;
  1130. text-overflow: ellipsis;
  1131. overflow: hidden;
  1132. }
  1133. strong {
  1134. font-size: 16px;
  1135. color: $primary-text-color;
  1136. }
  1137. }
  1138. .detailed-status__display-avatar {
  1139. float: left;
  1140. margin-right: 10px;
  1141. }
  1142. .status__avatar {
  1143. height: 48px;
  1144. left: 10px;
  1145. position: absolute;
  1146. top: 10px;
  1147. width: 48px;
  1148. }
  1149. .muted {
  1150. .status__content p,
  1151. .status__content a {
  1152. color: $dark-text-color;
  1153. }
  1154. .status__display-name strong {
  1155. color: $dark-text-color;
  1156. }
  1157. .status__avatar {
  1158. opacity: 0.5;
  1159. }
  1160. a.status__content__spoiler-link {
  1161. background: $ui-base-lighter-color;
  1162. color: $inverted-text-color;
  1163. &:hover {
  1164. background: lighten($ui-base-lighter-color, 7%);
  1165. text-decoration: none;
  1166. }
  1167. }
  1168. }
  1169. .notification__message {
  1170. margin: 0 10px 0 68px;
  1171. padding: 8px 0 0;
  1172. cursor: default;
  1173. color: $darker-text-color;
  1174. font-size: 15px;
  1175. line-height: 22px;
  1176. position: relative;
  1177. .fa {
  1178. color: $highlight-text-color;
  1179. }
  1180. > span {
  1181. display: inline;
  1182. overflow: hidden;
  1183. text-overflow: ellipsis;
  1184. }
  1185. }
  1186. .notification__favourite-icon-wrapper {
  1187. left: -26px;
  1188. position: absolute;
  1189. .star-icon {
  1190. color: $gold-star;
  1191. }
  1192. }
  1193. .star-icon.active {
  1194. color: $gold-star;
  1195. }
  1196. .notification__display-name {
  1197. color: inherit;
  1198. font-weight: 500;
  1199. text-decoration: none;
  1200. &:hover {
  1201. color: $primary-text-color;
  1202. text-decoration: underline;
  1203. }
  1204. }
  1205. .notification__relative_time {
  1206. float: right;
  1207. }
  1208. .display-name {
  1209. display: block;
  1210. max-width: 100%;
  1211. overflow: hidden;
  1212. text-overflow: ellipsis;
  1213. white-space: nowrap;
  1214. }
  1215. .display-name__html {
  1216. font-weight: 500;
  1217. }
  1218. .display-name__account {
  1219. font-size: 14px;
  1220. }
  1221. .status__relative-time,
  1222. .detailed-status__datetime {
  1223. &:hover {
  1224. text-decoration: underline;
  1225. }
  1226. }
  1227. .image-loader {
  1228. position: relative;
  1229. width: 100%;
  1230. height: 100%;
  1231. display: flex;
  1232. align-items: center;
  1233. justify-content: center;
  1234. flex-direction: column;
  1235. .image-loader__preview-canvas {
  1236. max-width: $media-modal-media-max-width;
  1237. max-height: $media-modal-media-max-height;
  1238. background: url('../images/void.png') repeat;
  1239. object-fit: contain;
  1240. }
  1241. .loading-bar {
  1242. position: relative;
  1243. }
  1244. &.image-loader--amorphous .image-loader__preview-canvas {
  1245. display: none;
  1246. }
  1247. }
  1248. .zoomable-image {
  1249. position: relative;
  1250. width: 100%;
  1251. height: 100%;
  1252. display: flex;
  1253. align-items: center;
  1254. justify-content: center;
  1255. img {
  1256. max-width: $media-modal-media-max-width;
  1257. max-height: $media-modal-media-max-height;
  1258. width: auto;
  1259. height: auto;
  1260. object-fit: contain;
  1261. }
  1262. }
  1263. .navigation-bar {
  1264. padding: 10px;
  1265. display: flex;
  1266. align-items: center;
  1267. flex-shrink: 0;
  1268. cursor: default;
  1269. color: $darker-text-color;
  1270. strong {
  1271. color: $secondary-text-color;
  1272. }
  1273. a {
  1274. color: inherit;
  1275. }
  1276. .permalink {
  1277. text-decoration: none;
  1278. }
  1279. .navigation-bar__actions {
  1280. position: relative;
  1281. .icon-button.close {
  1282. position: absolute;
  1283. pointer-events: none;
  1284. transform: scale(0.0, 1.0) translate(-100%, 0);
  1285. opacity: 0;
  1286. }
  1287. .compose__action-bar .icon-button {
  1288. pointer-events: auto;
  1289. transform: scale(1.0, 1.0) translate(0, 0);
  1290. opacity: 1;
  1291. }
  1292. }
  1293. }
  1294. .navigation-bar__profile {
  1295. flex: 1 1 auto;
  1296. margin-left: 8px;
  1297. line-height: 20px;
  1298. margin-top: -1px;
  1299. overflow: hidden;
  1300. }
  1301. .navigation-bar__profile-account {
  1302. display: block;
  1303. font-weight: 500;
  1304. overflow: hidden;
  1305. text-overflow: ellipsis;
  1306. }
  1307. .navigation-bar__profile-edit {
  1308. color: inherit;
  1309. text-decoration: none;
  1310. }
  1311. .dropdown {
  1312. display: inline-block;
  1313. }
  1314. .dropdown__content {
  1315. display: none;
  1316. position: absolute;
  1317. }
  1318. .dropdown-menu__separator {
  1319. border-bottom: 1px solid darken($ui-secondary-color, 8%);
  1320. margin: 5px 7px 6px;
  1321. height: 0;
  1322. }
  1323. .dropdown-menu {
  1324. background: $ui-secondary-color;
  1325. padding: 4px 0;
  1326. border-radius: 4px;
  1327. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  1328. z-index: 9999;
  1329. ul {
  1330. list-style: none;
  1331. }
  1332. &.left {
  1333. transform-origin: 100% 50%;
  1334. }
  1335. &.top {
  1336. transform-origin: 50% 100%;
  1337. }
  1338. &.bottom {
  1339. transform-origin: 50% 0;
  1340. }
  1341. &.right {
  1342. transform-origin: 0 50%;
  1343. }
  1344. }
  1345. .dropdown-menu__arrow {
  1346. position: absolute;
  1347. width: 0;
  1348. height: 0;
  1349. border: 0 solid transparent;
  1350. &.left {
  1351. right: -5px;
  1352. margin-top: -5px;
  1353. border-width: 5px 0 5px 5px;
  1354. border-left-color: $ui-secondary-color;
  1355. }
  1356. &.top {
  1357. bottom: -5px;
  1358. margin-left: -7px;
  1359. border-width: 5px 7px 0;
  1360. border-top-color: $ui-secondary-color;
  1361. }
  1362. &.bottom {
  1363. top: -5px;
  1364. margin-left: -7px;
  1365. border-width: 0 7px 5px;
  1366. border-bottom-color: $ui-secondary-color;
  1367. }
  1368. &.right {
  1369. left: -5px;
  1370. margin-top: -5px;
  1371. border-width: 5px 5px 5px 0;
  1372. border-right-color: $ui-secondary-color;
  1373. }
  1374. }
  1375. .dropdown-menu__item {
  1376. a {
  1377. font-size: 13px;
  1378. line-height: 18px;
  1379. display: block;
  1380. padding: 4px 14px;
  1381. box-sizing: border-box;
  1382. text-decoration: none;
  1383. background: $ui-secondary-color;
  1384. color: $inverted-text-color;
  1385. overflow: hidden;
  1386. text-overflow: ellipsis;
  1387. white-space: nowrap;
  1388. &:focus,
  1389. &:hover,
  1390. &:active {
  1391. background: $ui-highlight-color;
  1392. color: $secondary-text-color;
  1393. outline: 0;
  1394. }
  1395. }
  1396. }
  1397. .dropdown--active .dropdown__content {
  1398. display: block;
  1399. line-height: 18px;
  1400. max-width: 311px;
  1401. right: 0;
  1402. text-align: left;
  1403. z-index: 9999;
  1404. & > ul {
  1405. list-style: none;
  1406. background: $ui-secondary-color;
  1407. padding: 4px 0;
  1408. border-radius: 4px;
  1409. box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
  1410. min-width: 140px;
  1411. position: relative;
  1412. }
  1413. &.dropdown__right {
  1414. right: 0;
  1415. }
  1416. &.dropdown__left {
  1417. & > ul {
  1418. left: -98px;
  1419. }
  1420. }
  1421. & > ul > li > a {
  1422. font-size: 13px;
  1423. line-height: 18px;
  1424. display: block;
  1425. padding: 4px 14px;
  1426. box-sizing: border-box;
  1427. text-decoration: none;
  1428. background: $ui-secondary-color;
  1429. color: $inverted-text-color;
  1430. overflow: hidden;
  1431. text-overflow: ellipsis;
  1432. white-space: nowrap;
  1433. &:focus {
  1434. outline: 0;
  1435. }
  1436. &:hover {
  1437. background: $ui-highlight-color;
  1438. color: $secondary-text-color;
  1439. }
  1440. }
  1441. }
  1442. .dropdown__icon {
  1443. vertical-align: middle;
  1444. }
  1445. .columns-area {
  1446. display: flex;
  1447. flex: 1 1 auto;
  1448. flex-direction: row;
  1449. justify-content: flex-start;
  1450. overflow-x: auto;
  1451. position: relative;
  1452. &.unscrollable {
  1453. overflow-x: hidden;
  1454. }
  1455. }
  1456. @media screen and (min-width: 360px) {
  1457. .columns-area {
  1458. padding: 10px;
  1459. }
  1460. .react-swipeable-view-container .columns-area {
  1461. height: calc(100% - 20px) !important;
  1462. }
  1463. }
  1464. .react-swipeable-view-container {
  1465. &,
  1466. .columns-area,
  1467. .drawer,
  1468. .column {
  1469. height: 100%;
  1470. }
  1471. }
  1472. .react-swipeable-view-container > * {
  1473. display: flex;
  1474. align-items: center;
  1475. justify-content: center;
  1476. height: 100%;
  1477. }
  1478. .column {
  1479. width: 350px;
  1480. position: relative;
  1481. box-sizing: border-box;
  1482. display: flex;
  1483. flex-direction: column;
  1484. > .scrollable {
  1485. background: $ui-base-color;
  1486. }
  1487. }
  1488. .ui {
  1489. flex: 0 0 auto;
  1490. display: flex;
  1491. flex-direction: column;
  1492. width: 100%;
  1493. height: 100%;
  1494. background: darken($ui-base-color, 7%);
  1495. }
  1496. .drawer {
  1497. width: 300px;
  1498. box-sizing: border-box;
  1499. display: flex;
  1500. flex-direction: column;
  1501. overflow-y: hidden;
  1502. }
  1503. .drawer__tab {
  1504. display: block;
  1505. flex: 1 1 auto;
  1506. padding: 15px 5px 13px;
  1507. color: $darker-text-color;
  1508. text-decoration: none;
  1509. text-align: center;
  1510. font-size: 16px;
  1511. border-bottom: 2px solid transparent;
  1512. }
  1513. .column,
  1514. .drawer {
  1515. flex: 1 1 100%;
  1516. overflow: hidden;
  1517. }
  1518. @media screen and (min-width: 360px) {
  1519. .tabs-bar {
  1520. margin: 10px;
  1521. margin-bottom: 0;
  1522. }
  1523. .getting-started__wrapper,
  1524. .getting-started__trends,
  1525. .search {
  1526. margin-bottom: 10px;
  1527. }
  1528. }
  1529. @media screen and (max-width: 630px) {
  1530. .column,
  1531. .drawer {
  1532. width: 100%;
  1533. padding: 0;
  1534. }
  1535. .columns-area {
  1536. flex-direction: column;
  1537. }
  1538. .search__input,
  1539. .autosuggest-textarea__textarea {
  1540. font-size: 16px;
  1541. }
  1542. }
  1543. @media screen and (min-width: 631px) {
  1544. .columns-area {
  1545. padding: 0;
  1546. }
  1547. .column,
  1548. .drawer {
  1549. flex: 0 0 auto;
  1550. padding: 10px;
  1551. padding-left: 5px;
  1552. padding-right: 5px;
  1553. &:first-child {
  1554. padding-left: 10px;
  1555. }
  1556. &:last-child {
  1557. padding-right: 10px;
  1558. }
  1559. }
  1560. .columns-area > div {
  1561. .column,
  1562. .drawer {
  1563. padding-left: 5px;
  1564. padding-right: 5px;
  1565. }
  1566. }
  1567. }
  1568. .drawer__pager {
  1569. box-sizing: border-box;
  1570. padding: 0;
  1571. flex-grow: 1;
  1572. position: relative;
  1573. overflow: hidden;
  1574. display: flex;
  1575. }
  1576. .drawer__inner {
  1577. position: absolute;
  1578. top: 0;
  1579. left: 0;
  1580. background: lighten($ui-base-color, 13%);
  1581. box-sizing: border-box;
  1582. padding: 0;
  1583. display: flex;
  1584. flex-direction: column;
  1585. overflow: hidden;
  1586. overflow-y: auto;
  1587. width: 100%;
  1588. height: 100%;
  1589. &.darker {
  1590. background: $ui-base-color;
  1591. }
  1592. }
  1593. .drawer__inner__mastodon {
  1594. background: lighten($ui-base-color, 13%) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 234.80078 31.757813" width="234.80078" height="31.757812"><path d="M19.599609 0c-1.05 0-2.10039.375-2.90039 1.125L0 16.925781v14.832031h234.80078V17.025391l-16.5-15.900391c-1.6-1.5-4.20078-1.5-5.80078 0l-13.80078 13.099609c-1.6 1.5-4.19883 1.5-5.79883 0L179.09961 1.125c-1.6-1.5-4.19883-1.5-5.79883 0L159.5 14.224609c-1.6 1.5-4.20078 1.5-5.80078 0L139.90039 1.125c-1.6-1.5-4.20078-1.5-5.80078 0l-13.79883 13.099609c-1.6 1.5-4.20078 1.5-5.80078 0L100.69922 1.125c-1.600001-1.5-4.198829-1.5-5.798829 0l-13.59961 13.099609c-1.6 1.5-4.200781 1.5-5.800781 0L61.699219 1.125c-1.6-1.5-4.198828-1.5-5.798828 0L42.099609 14.224609c-1.6 1.5-4.198828 1.5-5.798828 0L22.5 1.125C21.7.375 20.649609 0 19.599609 0z" fill="#{hex-color($ui-base-color)}"/></svg>') no-repeat bottom / 100% auto;
  1595. flex: 1;
  1596. min-height: 47px;
  1597. > img {
  1598. display: block;
  1599. object-fit: contain;
  1600. object-position: bottom left;
  1601. width: 100%;
  1602. height: 100%;
  1603. pointer-events: none;
  1604. user-drag: none;
  1605. user-select: none;
  1606. }
  1607. }
  1608. .pseudo-drawer {
  1609. background: lighten($ui-base-color, 13%);
  1610. font-size: 13px;
  1611. text-align: left;
  1612. }
  1613. .drawer__header {
  1614. flex: 0 0 auto;
  1615. font-size: 16px;
  1616. background: lighten($ui-base-color, 8%);
  1617. margin-bottom: 10px;
  1618. display: flex;
  1619. flex-direction: row;
  1620. a {
  1621. transition: background 100ms ease-in;
  1622. &:hover {
  1623. background: lighten($ui-base-color, 3%);
  1624. transition: background 200ms ease-out;
  1625. }
  1626. }
  1627. }
  1628. .tabs-bar {
  1629. display: flex;
  1630. background: lighten($ui-base-color, 8%);
  1631. flex: 0 0 auto;
  1632. overflow-y: auto;
  1633. }
  1634. .tabs-bar__link {
  1635. display: block;
  1636. flex: 1 1 auto;
  1637. padding: 15px 10px;
  1638. color: $primary-text-color;
  1639. text-decoration: none;
  1640. text-align: center;
  1641. font-size: 14px;
  1642. font-weight: 500;
  1643. border-bottom: 2px solid lighten($ui-base-color, 8%);
  1644. transition: all 50ms linear;
  1645. .fa {
  1646. font-weight: 400;
  1647. font-size: 16px;
  1648. }
  1649. &.active {
  1650. border-bottom: 2px solid $highlight-text-color;
  1651. color: $highlight-text-color;
  1652. }
  1653. &:hover,
  1654. &:focus,
  1655. &:active {
  1656. @media screen and (min-width: 631px) {
  1657. background: lighten($ui-base-color, 14%);
  1658. }
  1659. }
  1660. span {
  1661. margin-left: 5px;
  1662. display: none;
  1663. }
  1664. }
  1665. @media screen and (min-width: 600px) {
  1666. .tabs-bar__link {
  1667. span {
  1668. display: inline;
  1669. }
  1670. }
  1671. }
  1672. @media screen and (min-width: 631px) {
  1673. .tabs-bar {
  1674. display: none;
  1675. }
  1676. }
  1677. .scrollable {
  1678. overflow-y: scroll;
  1679. overflow-x: hidden;
  1680. flex: 1 1 auto;
  1681. -webkit-overflow-scrolling: touch;
  1682. will-change: transform; // improves perf in mobile Chrome
  1683. &.optionally-scrollable {
  1684. overflow-y: auto;
  1685. }
  1686. @supports(display: grid) { // hack to fix Chrome <57
  1687. contain: strict;
  1688. }
  1689. &--flex {
  1690. display: flex;
  1691. flex-direction: column;
  1692. }
  1693. &__append {
  1694. flex: 1 1 auto;
  1695. position: relative;
  1696. min-height: 120px;
  1697. }
  1698. }
  1699. .scrollable.fullscreen {
  1700. @supports(display: grid) { // hack to fix Chrome <57
  1701. contain: none;
  1702. }
  1703. }
  1704. .column-back-button {
  1705. background: lighten($ui-base-color, 4%);
  1706. color: $highlight-text-color;
  1707. cursor: pointer;
  1708. flex: 0 0 auto;
  1709. font-size: 16px;
  1710. line-height: inherit;
  1711. border: 0;
  1712. text-align: unset;
  1713. padding: 15px;
  1714. margin: 0;
  1715. z-index: 3;
  1716. outline: 0;
  1717. &:hover {
  1718. text-decoration: underline;
  1719. }
  1720. }
  1721. .column-header__back-button {
  1722. background: lighten($ui-base-color, 4%);
  1723. border: 0;
  1724. font-family: inherit;
  1725. color: $highlight-text-color;
  1726. cursor: pointer;
  1727. white-space: nowrap;
  1728. font-size: 16px;
  1729. padding: 0 5px 0 0;
  1730. z-index: 3;
  1731. &:hover {
  1732. text-decoration: underline;
  1733. }
  1734. &:last-child {
  1735. padding: 0 15px 0 0;
  1736. }
  1737. }
  1738. .column-back-button__icon {
  1739. display: inline-block;
  1740. margin-right: 5px;
  1741. }
  1742. .column-back-button--slim {
  1743. position: relative;
  1744. }
  1745. .column-back-button--slim-button {
  1746. cursor: pointer;
  1747. flex: 0 0 auto;
  1748. font-size: 16px;
  1749. padding: 15px;
  1750. position: absolute;
  1751. right: 0;
  1752. top: -48px;
  1753. }
  1754. .react-toggle {
  1755. display: inline-block;
  1756. position: relative;
  1757. cursor: pointer;
  1758. background-color: transparent;
  1759. border: 0;
  1760. padding: 0;
  1761. user-select: none;
  1762. -webkit-tap-highlight-color: rgba($base-overlay-background, 0);
  1763. -webkit-tap-highlight-color: transparent;
  1764. }
  1765. .react-toggle-screenreader-only {
  1766. border: 0;
  1767. clip: rect(0 0 0 0);
  1768. height: 1px;
  1769. margin: -1px;
  1770. overflow: hidden;
  1771. padding: 0;
  1772. position: absolute;
  1773. width: 1px;
  1774. }
  1775. .react-toggle--disabled {
  1776. cursor: not-allowed;
  1777. opacity: 0.5;
  1778. transition: opacity 0.25s;
  1779. }
  1780. .react-toggle-track {
  1781. width: 50px;
  1782. height: 24px;
  1783. padding: 0;
  1784. border-radius: 30px;
  1785. background-color: $ui-base-color;
  1786. transition: all 0.2s ease;
  1787. }
  1788. .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
  1789. background-color: darken($ui-base-color, 10%);
  1790. }
  1791. .react-toggle--checked .react-toggle-track {
  1792. background-color: $ui-highlight-color;
  1793. }
  1794. .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
  1795. background-color: lighten($ui-highlight-color, 10%);
  1796. }
  1797. .react-toggle-track-check {
  1798. position: absolute;
  1799. width: 14px;
  1800. height: 10px;
  1801. top: 0;
  1802. bottom: 0;
  1803. margin-top: auto;
  1804. margin-bottom: auto;
  1805. line-height: 0;
  1806. left: 8px;
  1807. opacity: 0;
  1808. transition: opacity 0.25s ease;
  1809. }
  1810. .react-toggle--checked .react-toggle-track-check {
  1811. opacity: 1;
  1812. transition: opacity 0.25s ease;
  1813. }
  1814. .react-toggle-track-x {
  1815. position: absolute;
  1816. width: 10px;
  1817. height: 10px;
  1818. top: 0;
  1819. bottom: 0;
  1820. margin-top: auto;
  1821. margin-bottom: auto;
  1822. line-height: 0;
  1823. right: 10px;
  1824. opacity: 1;
  1825. transition: opacity 0.25s ease;
  1826. }
  1827. .react-toggle--checked .react-toggle-track-x {
  1828. opacity: 0;
  1829. }
  1830. .react-toggle-thumb {
  1831. transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  1832. position: absolute;
  1833. top: 1px;
  1834. left: 1px;
  1835. width: 22px;
  1836. height: 22px;
  1837. border: 1px solid $ui-base-color;
  1838. border-radius: 50%;
  1839. background-color: darken($simple-background-color, 2%);
  1840. box-sizing: border-box;
  1841. transition: all 0.25s ease;
  1842. }
  1843. .react-toggle--checked .react-toggle-thumb {
  1844. left: 27px;
  1845. border-color: $ui-highlight-color;
  1846. }
  1847. .column-link {
  1848. background: lighten($ui-base-color, 8%);
  1849. color: $primary-text-color;
  1850. display: block;
  1851. font-size: 16px;
  1852. padding: 15px;
  1853. text-decoration: none;
  1854. &:hover {
  1855. background: lighten($ui-base-color, 11%);
  1856. }
  1857. }
  1858. .column-link__icon {
  1859. display: inline-block;
  1860. margin-right: 5px;
  1861. }
  1862. .column-link__badge {
  1863. display: inline-block;
  1864. border-radius: 4px;
  1865. font-size: 12px;
  1866. line-height: 19px;
  1867. font-weight: 500;
  1868. background: $ui-base-color;
  1869. padding: 4px 8px;
  1870. margin: -6px 10px;
  1871. }
  1872. .column-subheading {
  1873. background: $ui-base-color;
  1874. color: $dark-text-color;
  1875. padding: 8px 20px;
  1876. font-size: 12px;
  1877. font-weight: 500;
  1878. text-transform: uppercase;
  1879. cursor: default;
  1880. }
  1881. .getting-started__wrapper,
  1882. .getting-started,
  1883. .flex-spacer {
  1884. background: $ui-base-color;
  1885. }
  1886. .getting-started__wrapper {
  1887. flex: 0 0 auto;
  1888. }
  1889. .flex-spacer {
  1890. flex: 1 1 auto;
  1891. }
  1892. .getting-started {
  1893. color: $dark-text-color;
  1894. overflow: auto;
  1895. &__footer {
  1896. flex: 0 0 auto;
  1897. padding: 10px;
  1898. padding-top: 20px;
  1899. ul {
  1900. margin-bottom: 10px;
  1901. }
  1902. ul li {
  1903. display: inline;
  1904. }
  1905. p {
  1906. color: $dark-text-color;
  1907. font-size: 13px;
  1908. margin-bottom: 20px;
  1909. a {
  1910. color: $dark-text-color;
  1911. text-decoration: underline;
  1912. }
  1913. }
  1914. a {
  1915. text-decoration: none;
  1916. color: $darker-text-color;
  1917. &:hover,
  1918. &:focus,
  1919. &:active {
  1920. text-decoration: underline;
  1921. }
  1922. }
  1923. }
  1924. &__trends {
  1925. background: $ui-base-color;
  1926. flex: 0 1 auto;
  1927. @media screen and (max-height: 810px) {
  1928. .trends__item:nth-child(3) {
  1929. display: none;
  1930. }
  1931. }
  1932. @media screen and (max-height: 720px) {
  1933. .trends__item:nth-child(2) {
  1934. display: none;
  1935. }
  1936. }
  1937. @media screen and (max-height: 670px) {
  1938. display: none;
  1939. }
  1940. }
  1941. &__scrollable {
  1942. max-height: 100%;
  1943. overflow-y: auto;
  1944. }
  1945. }
  1946. .keyboard-shortcuts {
  1947. padding: 8px 0 0;
  1948. overflow: hidden;
  1949. thead {
  1950. position: absolute;
  1951. left: -9999px;
  1952. }
  1953. td {
  1954. padding: 0 10px 8px;
  1955. }
  1956. kbd {
  1957. display: inline-block;
  1958. padding: 3px 5px;
  1959. background-color: lighten($ui-base-color, 8%);
  1960. border: 1px solid darken($ui-base-color, 4%);
  1961. }
  1962. }
  1963. .setting-text {
  1964. color: $darker-text-color;
  1965. background: transparent;
  1966. border: none;
  1967. border-bottom: 2px solid $ui-primary-color;
  1968. box-sizing: border-box;
  1969. display: block;
  1970. font-family: inherit;
  1971. margin-bottom: 10px;
  1972. padding: 7px 0;
  1973. width: 100%;
  1974. &:focus,
  1975. &:active {
  1976. color: $primary-text-color;
  1977. border-bottom-color: $highlight-text-color;
  1978. }
  1979. @media screen and (max-width: 600px) {
  1980. font-size: 16px;
  1981. }
  1982. }
  1983. .no-reduce-motion button.icon-button i.fa-retweet {
  1984. background-position: 0 0;
  1985. height: 19px;
  1986. transition: background-position 0.9s steps(10);
  1987. transition-duration: 0s;
  1988. vertical-align: middle;
  1989. width: 22px;
  1990. &::before {
  1991. display: none !important;
  1992. }
  1993. }
  1994. .no-reduce-motion button.icon-button.active i.fa-retweet {
  1995. transition-duration: 0.9s;
  1996. background-position: 0 100%;
  1997. }
  1998. .reduce-motion button.icon-button i.fa-retweet {
  1999. color: $action-button-color;
  2000. transition: color 100ms ease-in;
  2001. }
  2002. .reduce-motion button.icon-button.active i.fa-retweet {
  2003. color: $highlight-text-color;
  2004. }
  2005. .status-card {
  2006. display: flex;
  2007. font-size: 14px;
  2008. border: 1px solid lighten($ui-base-color, 8%);
  2009. border-radius: 4px;
  2010. color: $dark-text-color;
  2011. margin-top: 14px;
  2012. text-decoration: none;
  2013. overflow: hidden;
  2014. &__actions {
  2015. bottom: 0;
  2016. left: 0;
  2017. position: absolute;
  2018. right: 0;
  2019. top: 0;
  2020. display: flex;
  2021. justify-content: center;
  2022. align-items: center;
  2023. & > div {
  2024. background: rgba($base-shadow-color, 0.6);
  2025. border-radius: 4px;
  2026. padding: 12px 9px;
  2027. flex: 0 0 auto;
  2028. display: flex;
  2029. justify-content: center;
  2030. align-items: center;
  2031. }
  2032. button,
  2033. a {
  2034. display: inline;
  2035. color: $primary-text-color;
  2036. background: transparent;
  2037. border: 0;
  2038. padding: 0 5px;
  2039. text-decoration: none;
  2040. opacity: 0.6;
  2041. font-size: 18px;
  2042. line-height: 18px;
  2043. &:hover,
  2044. &:active,
  2045. &:focus {
  2046. opacity: 1;
  2047. }
  2048. }
  2049. a {
  2050. font-size: 19px;
  2051. position: relative;
  2052. bottom: -1px;
  2053. }
  2054. }
  2055. }
  2056. a.status-card {
  2057. cursor: pointer;
  2058. &:hover {
  2059. background: lighten($ui-base-color, 8%);
  2060. }
  2061. }
  2062. .status-card-photo {
  2063. cursor: zoom-in;
  2064. display: block;
  2065. text-decoration: none;
  2066. width: 100%;
  2067. height: auto;
  2068. margin: 0;
  2069. }
  2070. .status-card-video {
  2071. iframe {
  2072. width: 100%;
  2073. height: 100%;
  2074. }
  2075. }
  2076. .status-card__title {
  2077. display: block;
  2078. font-weight: 500;
  2079. margin-bottom: 5px;
  2080. color: $darker-text-color;
  2081. overflow: hidden;
  2082. text-overflow: ellipsis;
  2083. white-space: nowrap;
  2084. text-decoration: none;
  2085. }
  2086. .status-card__content {
  2087. flex: 1 1 auto;
  2088. overflow: hidden;
  2089. padding: 14px 14px 14px 8px;
  2090. }
  2091. .status-card__description {
  2092. color: $darker-text-color;
  2093. }
  2094. .status-card__host {
  2095. display: block;
  2096. margin-top: 5px;
  2097. font-size: 13px;
  2098. overflow: hidden;
  2099. text-overflow: ellipsis;
  2100. white-space: nowrap;
  2101. }
  2102. .status-card__image {
  2103. flex: 0 0 100px;
  2104. background: lighten($ui-base-color, 8%);
  2105. position: relative;
  2106. & > .fa {
  2107. font-size: 21px;
  2108. position: absolute;
  2109. transform-origin: 50% 50%;
  2110. top: 50%;
  2111. left: 50%;
  2112. transform: translate(-50%, -50%);
  2113. }
  2114. }
  2115. .status-card.horizontal {
  2116. display: block;
  2117. .status-card__image {
  2118. width: 100%;
  2119. }
  2120. .status-card__image-image {
  2121. border-radius: 4px 4px 0 0;
  2122. }
  2123. .status-card__title {
  2124. white-space: inherit;
  2125. }
  2126. }
  2127. .status-card.compact {
  2128. border-color: lighten($ui-base-color, 4%);
  2129. &.interactive {
  2130. border: 0;
  2131. }
  2132. .status-card__content {
  2133. padding: 8px;
  2134. padding-top: 10px;
  2135. }
  2136. .status-card__title {
  2137. white-space: nowrap;
  2138. }
  2139. .status-card__image {
  2140. flex: 0 0 60px;
  2141. }
  2142. }
  2143. a.status-card.compact:hover {
  2144. background-color: lighten($ui-base-color, 4%);
  2145. }
  2146. .status-card__image-image {
  2147. border-radius: 4px 0 0 4px;
  2148. display: block;
  2149. margin: 0;
  2150. width: 100%;
  2151. height: 100%;
  2152. object-fit: cover;
  2153. background-size: cover;
  2154. background-position: center center;
  2155. }
  2156. .load-more {
  2157. display: block;
  2158. color: $dark-text-color;
  2159. background-color: transparent;
  2160. border: 0;
  2161. font-size: inherit;
  2162. text-align: center;
  2163. line-height: inherit;
  2164. margin: 0;
  2165. padding: 15px;
  2166. box-sizing: border-box;
  2167. width: 100%;
  2168. clear: both;
  2169. text-decoration: none;
  2170. &:hover {
  2171. background: lighten($ui-base-color, 2%);
  2172. }
  2173. }
  2174. .load-gap {
  2175. border-bottom: 1px solid lighten($ui-base-color, 8%);
  2176. }
  2177. .regeneration-indicator {
  2178. text-align: center;
  2179. font-size: 16px;
  2180. font-weight: 500;
  2181. color: $dark-text-color;
  2182. background: $ui-base-color;
  2183. cursor: default;
  2184. display: flex;
  2185. flex: 1 1 auto;
  2186. align-items: center;
  2187. justify-content: center;
  2188. padding: 20px;
  2189. & > div {
  2190. width: 100%;
  2191. background: transparent;
  2192. padding-top: 0;
  2193. }
  2194. &__figure {
  2195. background: url('../images/elephant_ui_working.svg') no-repeat center 0;
  2196. width: 100%;
  2197. height: 160px;
  2198. background-size: contain;
  2199. position: absolute;
  2200. top: 50%;
  2201. left: 50%;
  2202. transform: translate(-50%, -50%);
  2203. }
  2204. &.missing-indicator {
  2205. padding-top: 20px + 48px;
  2206. .regeneration-indicator__figure {
  2207. background-image: url('../images/elephant_ui_disappointed.svg');
  2208. }
  2209. }
  2210. &__label {
  2211. margin-top: 200px;
  2212. strong {
  2213. display: block;
  2214. margin-bottom: 10px;
  2215. color: $dark-text-color;
  2216. }
  2217. span {
  2218. font-size: 15px;
  2219. font-weight: 400;
  2220. }
  2221. }
  2222. }
  2223. .column-header__wrapper {
  2224. position: relative;
  2225. flex: 0 0 auto;
  2226. &.active {
  2227. &::before {
  2228. display: block;
  2229. content: "";
  2230. position: absolute;
  2231. top: 35px;
  2232. left: 0;
  2233. right: 0;
  2234. margin: 0 auto;
  2235. width: 60%;
  2236. pointer-events: none;
  2237. height: 28px;
  2238. z-index: 1;
  2239. background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%);
  2240. }
  2241. }
  2242. }
  2243. .column-header {
  2244. display: flex;
  2245. font-size: 16px;
  2246. background: lighten($ui-base-color, 4%);
  2247. flex: 0 0 auto;
  2248. cursor: pointer;
  2249. position: relative;
  2250. z-index: 2;
  2251. outline: 0;
  2252. overflow: hidden;
  2253. & > button {
  2254. margin: 0;
  2255. border: none;
  2256. padding: 15px 0 15px 15px;
  2257. color: inherit;
  2258. background: transparent;
  2259. font: inherit;
  2260. text-align: left;
  2261. text-overflow: ellipsis;
  2262. overflow: hidden;
  2263. white-space: nowrap;
  2264. flex: 1;
  2265. }
  2266. & > .column-header__back-button {
  2267. color: $highlight-text-color;
  2268. }
  2269. &.active {
  2270. box-shadow: 0 1px 0 rgba($highlight-text-color, 0.3);
  2271. .column-header__icon {
  2272. color: $highlight-text-color;
  2273. text-shadow: 0 0 10px rgba($highlight-text-color, 0.4);
  2274. }
  2275. }
  2276. &:focus,
  2277. &:active {
  2278. outline: 0;
  2279. }
  2280. }
  2281. .column-header__buttons {
  2282. height: 48px;
  2283. display: flex;
  2284. }
  2285. .column-header__links .text-btn {
  2286. margin-right: 10px;
  2287. }
  2288. .column-header__button {
  2289. background: lighten($ui-base-color, 4%);
  2290. border: 0;
  2291. color: $darker-text-color;
  2292. cursor: pointer;
  2293. font-size: 16px;
  2294. padding: 0 15px;
  2295. &:hover {
  2296. color: lighten($darker-text-color, 7%);
  2297. }
  2298. &.active {
  2299. color: $primary-text-color;
  2300. background: lighten($ui-base-color, 8%);
  2301. &:hover {
  2302. color: $primary-text-color;
  2303. background: lighten($ui-base-color, 8%);
  2304. }
  2305. }
  2306. }
  2307. .column-header__collapsible {
  2308. max-height: 70vh;
  2309. overflow: hidden;
  2310. overflow-y: auto;
  2311. color: $darker-text-color;
  2312. transition: max-height 150ms ease-in-out, opacity 300ms linear;
  2313. opacity: 1;
  2314. &.collapsed {
  2315. max-height: 0;
  2316. opacity: 0.5;
  2317. }
  2318. &.animating {
  2319. overflow-y: hidden;
  2320. }
  2321. hr {
  2322. height: 0;
  2323. background: transparent;
  2324. border: 0;
  2325. border-top: 1px solid lighten($ui-base-color, 12%);
  2326. margin: 10px 0;
  2327. }
  2328. }
  2329. .column-header__collapsible-inner {
  2330. background: lighten($ui-base-color, 8%);
  2331. padding: 15px;
  2332. }
  2333. .column-header__setting-btn {
  2334. &:hover {
  2335. color: $darker-text-color;
  2336. text-decoration: underline;
  2337. }
  2338. }
  2339. .column-header__setting-arrows {
  2340. float: right;
  2341. .column-header__setting-btn {
  2342. padding: 0 10px;
  2343. &:last-child {
  2344. padding-right: 0;
  2345. }
  2346. }
  2347. }
  2348. .text-btn {
  2349. display: inline-block;
  2350. padding: 0;
  2351. font-family: inherit;
  2352. font-size: inherit;
  2353. color: inherit;
  2354. border: 0;
  2355. background: transparent;
  2356. cursor: pointer;
  2357. }
  2358. .column-header__icon {
  2359. display: inline-block;
  2360. margin-right: 5px;
  2361. }
  2362. .loading-indicator {
  2363. color: $dark-text-color;
  2364. font-size: 12px;
  2365. font-weight: 400;
  2366. text-transform: uppercase;
  2367. overflow: visible;
  2368. position: absolute;
  2369. top: 50%;
  2370. left: 50%;
  2371. transform: translate(-50%, -50%);
  2372. span {
  2373. display: block;
  2374. float: left;
  2375. margin-left: 50%;
  2376. transform: translateX(-50%);
  2377. margin: 82px 0 0 50%;
  2378. white-space: nowrap;
  2379. }
  2380. }
  2381. .loading-indicator__figure {
  2382. position: absolute;
  2383. top: 50%;
  2384. left: 50%;
  2385. transform: translate(-50%, -50%);
  2386. width: 42px;
  2387. height: 42px;
  2388. box-sizing: border-box;
  2389. background-color: transparent;
  2390. border: 0 solid lighten($ui-base-color, 26%);
  2391. border-width: 6px;
  2392. border-radius: 50%;
  2393. }
  2394. .no-reduce-motion .loading-indicator span {
  2395. animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
  2396. }
  2397. .no-reduce-motion .loading-indicator__figure {
  2398. animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
  2399. }
  2400. @keyframes loader-figure {
  2401. 0% {
  2402. width: 0;
  2403. height: 0;
  2404. background-color: lighten($ui-base-color, 26%);
  2405. }
  2406. 29% {
  2407. background-color: lighten($ui-base-color, 26%);
  2408. }
  2409. 30% {
  2410. width: 42px;
  2411. height: 42px;
  2412. background-color: transparent;
  2413. border-width: 21px;
  2414. opacity: 1;
  2415. }
  2416. 100% {
  2417. width: 42px;
  2418. height: 42px;
  2419. border-width: 0;
  2420. opacity: 0;
  2421. background-color: transparent;
  2422. }
  2423. }
  2424. @keyframes loader-label {
  2425. 0% { opacity: 0.25; }
  2426. 30% { opacity: 1; }
  2427. 100% { opacity: 0.25; }
  2428. }
  2429. .video-error-cover {
  2430. align-items: center;
  2431. background: $base-overlay-background;
  2432. color: $primary-text-color;
  2433. cursor: pointer;
  2434. display: flex;
  2435. flex-direction: column;
  2436. height: 100%;
  2437. justify-content: center;
  2438. margin-top: 8px;
  2439. position: relative;
  2440. text-align: center;
  2441. z-index: 100;
  2442. }
  2443. .media-spoiler {
  2444. background: $base-overlay-background;
  2445. color: $darker-text-color;
  2446. border: 0;
  2447. padding: 0;
  2448. width: 100%;
  2449. height: 100%;
  2450. border-radius: 4px;
  2451. appearance: none;
  2452. &:hover,
  2453. &:active,
  2454. &:focus {
  2455. padding: 0;
  2456. color: lighten($darker-text-color, 8%);
  2457. }
  2458. }
  2459. .media-spoiler__warning {
  2460. display: block;
  2461. font-size: 14px;
  2462. }
  2463. .media-spoiler__trigger {
  2464. display: block;
  2465. font-size: 11px;
  2466. font-weight: 700;
  2467. }
  2468. .spoiler-button {
  2469. display: none;
  2470. left: 4px;
  2471. position: absolute;
  2472. text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
  2473. top: 4px;
  2474. z-index: 100;
  2475. &.spoiler-button--visible {
  2476. display: block;
  2477. }
  2478. }
  2479. .modal-container--preloader {
  2480. background: lighten($ui-base-color, 8%);
  2481. }
  2482. .account--panel {
  2483. background: lighten($ui-base-color, 4%);
  2484. border-top: 1px solid lighten($ui-base-color, 8%);
  2485. border-bottom: 1px solid lighten($ui-base-color, 8%);
  2486. display: flex;
  2487. flex-direction: row;
  2488. padding: 10px 0;
  2489. }
  2490. .account--panel__button,
  2491. .detailed-status__button {
  2492. flex: 1 1 auto;
  2493. text-align: center;
  2494. }
  2495. .column-settings__outer {
  2496. background: lighten($ui-base-color, 8%);
  2497. padding: 15px;
  2498. }
  2499. .column-settings__section {
  2500. color: $darker-text-color;
  2501. cursor: default;
  2502. display: block;
  2503. font-weight: 500;
  2504. margin-bottom: 10px;
  2505. }
  2506. .column-settings__hashtags {
  2507. .column-settings__row {
  2508. margin-bottom: 15px;
  2509. }
  2510. .column-select {
  2511. &__control {
  2512. @include search-input();
  2513. }
  2514. &__placeholder {
  2515. color: $dark-text-color;
  2516. padding-left: 2px;
  2517. font-size: 12px;
  2518. }
  2519. &__value-container {
  2520. padding-left: 6px;
  2521. }
  2522. &__multi-value {
  2523. background: lighten($ui-base-color, 8%);
  2524. &__remove {
  2525. cursor: pointer;
  2526. &:hover,
  2527. &:active,
  2528. &:focus {
  2529. background: lighten($ui-base-color, 12%);
  2530. color: lighten($darker-text-color, 4%);
  2531. }
  2532. }
  2533. }
  2534. &__multi-value__label,
  2535. &__input {
  2536. color: $darker-text-color;
  2537. }
  2538. &__clear-indicator,
  2539. &__dropdown-indicator {
  2540. cursor: pointer;
  2541. transition: none;
  2542. color: $dark-text-color;
  2543. &:hover,
  2544. &:active,
  2545. &:focus {
  2546. color: lighten($dark-text-color, 4%);
  2547. }
  2548. }
  2549. &__indicator-separator {
  2550. background-color: lighten($ui-base-color, 8%);
  2551. }
  2552. &__menu {
  2553. @include search-popout();
  2554. padding: 0;
  2555. background: $ui-secondary-color;
  2556. }
  2557. &__menu-list {
  2558. padding: 6px;
  2559. }
  2560. &__option {
  2561. color: $inverted-text-color;
  2562. border-radius: 4px;
  2563. font-size: 14px;
  2564. &--is-focused,
  2565. &--is-selected {
  2566. background: darken($ui-secondary-color, 10%);
  2567. }
  2568. }
  2569. }
  2570. }
  2571. .column-settings__row {
  2572. .text-btn {
  2573. margin-bottom: 15px;
  2574. }
  2575. }
  2576. .relationship-tag {
  2577. color: $primary-text-color;
  2578. margin-bottom: 4px;
  2579. display: block;
  2580. vertical-align: top;
  2581. background-color: $base-overlay-background;
  2582. text-transform: uppercase;
  2583. font-size: 11px;
  2584. font-weight: 500;
  2585. padding: 4px;
  2586. border-radius: 4px;
  2587. opacity: 0.7;
  2588. &:hover {
  2589. opacity: 1;
  2590. }
  2591. }
  2592. .setting-toggle {
  2593. display: block;
  2594. line-height: 24px;
  2595. }
  2596. .setting-toggle__label {
  2597. color: $darker-text-color;
  2598. display: inline-block;
  2599. margin-bottom: 14px;
  2600. margin-left: 8px;
  2601. vertical-align: middle;
  2602. }
  2603. .empty-column-indicator,
  2604. .error-column {
  2605. color: $dark-text-color;
  2606. background: $ui-base-color;
  2607. text-align: center;
  2608. padding: 20px;
  2609. font-size: 15px;
  2610. font-weight: 400;
  2611. cursor: default;
  2612. display: flex;
  2613. flex: 1 1 auto;
  2614. align-items: center;
  2615. justify-content: center;
  2616. @supports(display: grid) { // hack to fix Chrome <57
  2617. contain: strict;
  2618. }
  2619. a {
  2620. color: $highlight-text-color;
  2621. text-decoration: none;
  2622. &:hover {
  2623. text-decoration: underline;
  2624. }
  2625. }
  2626. }
  2627. .error-column {
  2628. flex-direction: column;
  2629. }
  2630. @keyframes heartbeat {
  2631. from {
  2632. transform: scale(1);
  2633. animation-timing-function: ease-out;
  2634. }
  2635. 10% {
  2636. transform: scale(0.91);
  2637. animation-timing-function: ease-in;
  2638. }
  2639. 17% {
  2640. transform: scale(0.98);
  2641. animation-timing-function: ease-out;
  2642. }
  2643. 33% {
  2644. transform: scale(0.87);
  2645. animation-timing-function: ease-in;
  2646. }
  2647. 45% {
  2648. transform: scale(1);
  2649. animation-timing-function: ease-out;
  2650. }
  2651. }
  2652. .no-reduce-motion .pulse-loading {
  2653. transform-origin: center center;
  2654. animation: heartbeat 1.5s ease-in-out infinite both;
  2655. }
  2656. @keyframes shake-bottom {
  2657. 0%,
  2658. 100% {
  2659. transform: rotate(0deg);
  2660. transform-origin: 50% 100%;
  2661. }
  2662. 10% {
  2663. transform: rotate(2deg);
  2664. }
  2665. 20%,
  2666. 40%,
  2667. 60% {
  2668. transform: rotate(-4deg);
  2669. }
  2670. 30%,
  2671. 50%,
  2672. 70% {
  2673. transform: rotate(4deg);
  2674. }
  2675. 80% {
  2676. transform: rotate(-2deg);
  2677. }
  2678. 90% {
  2679. transform: rotate(2deg);
  2680. }
  2681. }
  2682. .no-reduce-motion .shake-bottom {
  2683. transform-origin: 50% 100%;
  2684. animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) 2s 2 both;
  2685. }
  2686. .emoji-picker-dropdown__menu {
  2687. background: $simple-background-color;
  2688. position: absolute;
  2689. box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
  2690. border-radius: 4px;
  2691. margin-top: 5px;
  2692. .emoji-mart-scroll {
  2693. transition: opacity 200ms ease;
  2694. }
  2695. &.selecting .emoji-mart-scroll {
  2696. opacity: 0.5;
  2697. }
  2698. }
  2699. .emoji-picker-dropdown__modifiers {
  2700. position: absolute;
  2701. top: 60px;
  2702. right: 11px;
  2703. cursor: pointer;
  2704. }
  2705. .emoji-picker-dropdown__modifiers__menu {
  2706. position: absolute;
  2707. z-index: 4;
  2708. top: -4px;
  2709. left: -8px;
  2710. background: $simple-background-color;
  2711. border-radius: 4px;
  2712. box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
  2713. overflow: hidden;
  2714. button {
  2715. display: block;
  2716. cursor: pointer;
  2717. border: 0;
  2718. padding: 4px 8px;
  2719. background: transparent;
  2720. &:hover,
  2721. &:focus,
  2722. &:active {
  2723. background: rgba($ui-secondary-color, 0.4);
  2724. }
  2725. }
  2726. .emoji-mart-emoji {
  2727. height: 22px;
  2728. }
  2729. }
  2730. .emoji-mart-emoji {
  2731. span {
  2732. background-repeat: no-repeat;
  2733. }
  2734. }
  2735. .upload-area {
  2736. align-items: center;
  2737. background: rgba($base-overlay-background, 0.8);
  2738. display: flex;
  2739. height: 100%;
  2740. justify-content: center;
  2741. left: 0;
  2742. opacity: 0;
  2743. position: absolute;
  2744. top: 0;
  2745. visibility: hidden;
  2746. width: 100%;
  2747. z-index: 2000;
  2748. * {
  2749. pointer-events: none;
  2750. }
  2751. }
  2752. .upload-area__drop {
  2753. width: 320px;
  2754. height: 160px;
  2755. display: flex;
  2756. box-sizing: border-box;
  2757. position: relative;
  2758. padding: 8px;
  2759. }
  2760. .upload-area__background {
  2761. position: absolute;
  2762. top: 0;
  2763. right: 0;
  2764. bottom: 0;
  2765. left: 0;
  2766. z-index: -1;
  2767. border-radius: 4px;
  2768. background: $ui-base-color;
  2769. box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
  2770. }
  2771. .upload-area__content {
  2772. flex: 1;
  2773. display: flex;
  2774. align-items: center;
  2775. justify-content: center;
  2776. color: $secondary-text-color;
  2777. font-size: 18px;
  2778. font-weight: 500;
  2779. border: 2px dashed $ui-base-lighter-color;
  2780. border-radius: 4px;
  2781. }
  2782. .upload-progress {
  2783. padding: 10px;
  2784. color: $lighter-text-color;
  2785. overflow: hidden;
  2786. display: flex;
  2787. .fa {
  2788. font-size: 34px;
  2789. margin-right: 10px;
  2790. }
  2791. span {
  2792. font-size: 12px;
  2793. text-transform: uppercase;
  2794. font-weight: 500;
  2795. display: block;
  2796. }
  2797. }
  2798. .upload-progess__message {
  2799. flex: 1 1 auto;
  2800. }
  2801. .upload-progress__backdrop {
  2802. width: 100%;
  2803. height: 6px;
  2804. border-radius: 6px;
  2805. background: $ui-base-lighter-color;
  2806. position: relative;
  2807. margin-top: 5px;
  2808. }
  2809. .upload-progress__tracker {
  2810. position: absolute;
  2811. left: 0;
  2812. top: 0;
  2813. height: 6px;
  2814. background: $ui-highlight-color;
  2815. border-radius: 6px;
  2816. }
  2817. .emoji-button {
  2818. display: block;
  2819. font-size: 24px;
  2820. line-height: 24px;
  2821. margin-left: 2px;
  2822. width: 24px;
  2823. outline: 0;
  2824. cursor: pointer;
  2825. &:active,
  2826. &:focus {
  2827. outline: 0 !important;
  2828. }
  2829. img {
  2830. filter: grayscale(100%);
  2831. opacity: 0.8;
  2832. display: block;
  2833. margin: 0;
  2834. width: 22px;
  2835. height: 22px;
  2836. margin-top: 2px;
  2837. }
  2838. &:hover,
  2839. &:active,
  2840. &:focus {
  2841. img {
  2842. opacity: 1;
  2843. filter: none;
  2844. }
  2845. }
  2846. }
  2847. .dropdown--active .emoji-button img {
  2848. opacity: 1;
  2849. filter: none;
  2850. }
  2851. .privacy-dropdown__dropdown {
  2852. position: absolute;
  2853. background: $simple-background-color;
  2854. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  2855. border-radius: 4px;
  2856. margin-left: 40px;
  2857. overflow: hidden;
  2858. &.top {
  2859. transform-origin: 50% 100%;
  2860. }
  2861. &.bottom {
  2862. transform-origin: 50% 0;
  2863. }
  2864. }
  2865. .privacy-dropdown__option {
  2866. color: $inverted-text-color;
  2867. padding: 10px;
  2868. cursor: pointer;
  2869. display: flex;
  2870. &:hover,
  2871. &.active {
  2872. background: $ui-highlight-color;
  2873. color: $primary-text-color;
  2874. outline: 0;
  2875. .privacy-dropdown__option__content {
  2876. color: $primary-text-color;
  2877. strong {
  2878. color: $primary-text-color;
  2879. }
  2880. }
  2881. }
  2882. &.active:hover {
  2883. background: lighten($ui-highlight-color, 4%);
  2884. }
  2885. }
  2886. .privacy-dropdown__option__icon {
  2887. display: flex;
  2888. align-items: center;
  2889. justify-content: center;
  2890. margin-right: 10px;
  2891. }
  2892. .privacy-dropdown__option__content {
  2893. flex: 1 1 auto;
  2894. color: $lighter-text-color;
  2895. strong {
  2896. font-weight: 500;
  2897. display: block;
  2898. color: $inverted-text-color;
  2899. @each $lang in $cjk-langs {
  2900. &:lang(#{$lang}) {
  2901. font-weight: 700;
  2902. }
  2903. }
  2904. }
  2905. }
  2906. .privacy-dropdown.active {
  2907. .privacy-dropdown__value {
  2908. background: $simple-background-color;
  2909. border-radius: 4px 4px 0 0;
  2910. box-shadow: 0 -4px 4px rgba($base-shadow-color, 0.1);
  2911. .icon-button {
  2912. transition: none;
  2913. }
  2914. &.active {
  2915. background: $ui-highlight-color;
  2916. .icon-button {
  2917. color: $primary-text-color;
  2918. }
  2919. }
  2920. }
  2921. &.top .privacy-dropdown__value {
  2922. border-radius: 0 0 4px 4px;
  2923. }
  2924. .privacy-dropdown__dropdown {
  2925. display: block;
  2926. box-shadow: 2px 4px 6px rgba($base-shadow-color, 0.1);
  2927. }
  2928. }
  2929. .search {
  2930. position: relative;
  2931. }
  2932. .search__input {
  2933. display: block;
  2934. padding: 10px;
  2935. padding-right: 30px;
  2936. @include search-input();
  2937. }
  2938. .search__icon {
  2939. &::-moz-focus-inner {
  2940. border: 0;
  2941. }
  2942. &::-moz-focus-inner,
  2943. &:focus {
  2944. outline: 0 !important;
  2945. }
  2946. .fa {
  2947. position: absolute;
  2948. top: 10px;
  2949. right: 10px;
  2950. z-index: 2;
  2951. display: inline-block;
  2952. opacity: 0;
  2953. transition: all 100ms linear;
  2954. font-size: 18px;
  2955. width: 18px;
  2956. height: 18px;
  2957. color: $secondary-text-color;
  2958. cursor: default;
  2959. pointer-events: none;
  2960. &.active {
  2961. pointer-events: auto;
  2962. opacity: 0.3;
  2963. }
  2964. }
  2965. .fa-search {
  2966. transform: rotate(90deg);
  2967. &.active {
  2968. pointer-events: none;
  2969. transform: rotate(0deg);
  2970. }
  2971. }
  2972. .fa-times-circle {
  2973. top: 11px;
  2974. transform: rotate(0deg);
  2975. color: $action-button-color;
  2976. cursor: pointer;
  2977. &.active {
  2978. transform: rotate(90deg);
  2979. }
  2980. &:hover {
  2981. color: lighten($action-button-color, 7%);
  2982. }
  2983. }
  2984. }
  2985. .search-results__header {
  2986. color: $dark-text-color;
  2987. background: lighten($ui-base-color, 2%);
  2988. padding: 15px;
  2989. font-weight: 500;
  2990. font-size: 16px;
  2991. cursor: default;
  2992. .fa {
  2993. display: inline-block;
  2994. margin-right: 5px;
  2995. }
  2996. }
  2997. .search-results__section {
  2998. margin-bottom: 5px;
  2999. h5 {
  3000. background: darken($ui-base-color, 4%);
  3001. border-bottom: 1px solid lighten($ui-base-color, 8%);
  3002. cursor: default;
  3003. display: flex;
  3004. padding: 15px;
  3005. font-weight: 500;
  3006. font-size: 16px;
  3007. color: $dark-text-color;
  3008. .fa {
  3009. display: inline-block;
  3010. margin-right: 5px;
  3011. }
  3012. }
  3013. .account:last-child,
  3014. & > div:last-child .status {
  3015. border-bottom: 0;
  3016. }
  3017. }
  3018. .search-results__hashtag {
  3019. display: block;
  3020. padding: 10px;
  3021. color: $secondary-text-color;
  3022. text-decoration: none;
  3023. &:hover,
  3024. &:active,
  3025. &:focus {
  3026. color: lighten($secondary-text-color, 4%);
  3027. text-decoration: underline;
  3028. }
  3029. }
  3030. .modal-root {
  3031. position: relative;
  3032. transition: opacity 0.3s linear;
  3033. will-change: opacity;
  3034. z-index: 9999;
  3035. }
  3036. .modal-root__overlay {
  3037. position: fixed;
  3038. top: 0;
  3039. left: 0;
  3040. right: 0;
  3041. bottom: 0;
  3042. background: rgba($base-overlay-background, 0.7);
  3043. }
  3044. .modal-root__container {
  3045. position: fixed;
  3046. top: 0;
  3047. left: 0;
  3048. width: 100%;
  3049. height: 100%;
  3050. display: flex;
  3051. flex-direction: column;
  3052. align-items: center;
  3053. justify-content: center;
  3054. align-content: space-around;
  3055. z-index: 9999;
  3056. pointer-events: none;
  3057. user-select: none;
  3058. }
  3059. .modal-root__modal {
  3060. pointer-events: auto;
  3061. display: flex;
  3062. z-index: 9999;
  3063. }
  3064. .video-modal {
  3065. max-width: 100vw;
  3066. max-height: 100vh;
  3067. position: relative;
  3068. }
  3069. .media-modal {
  3070. width: 100%;
  3071. height: 100%;
  3072. position: relative;
  3073. .extended-video-player {
  3074. width: 100%;
  3075. height: 100%;
  3076. display: flex;
  3077. align-items: center;
  3078. justify-content: center;
  3079. video {
  3080. max-width: $media-modal-media-max-width;
  3081. max-height: $media-modal-media-max-height;
  3082. }
  3083. }
  3084. }
  3085. .media-modal__closer {
  3086. position: absolute;
  3087. top: 0;
  3088. left: 0;
  3089. right: 0;
  3090. bottom: 0;
  3091. }
  3092. .media-modal__navigation {
  3093. position: absolute;
  3094. top: 0;
  3095. left: 0;
  3096. right: 0;
  3097. bottom: 0;
  3098. pointer-events: none;
  3099. transition: opacity 0.3s linear;
  3100. will-change: opacity;
  3101. * {
  3102. pointer-events: auto;
  3103. }
  3104. &.media-modal__navigation--hidden {
  3105. opacity: 0;
  3106. * {
  3107. pointer-events: none;
  3108. }
  3109. }
  3110. }
  3111. .media-modal__nav {
  3112. background: rgba($base-overlay-background, 0.5);
  3113. box-sizing: border-box;
  3114. border: 0;
  3115. color: $primary-text-color;
  3116. cursor: pointer;
  3117. display: flex;
  3118. align-items: center;
  3119. font-size: 24px;
  3120. height: 20vmax;
  3121. margin: auto 0;
  3122. padding: 30px 15px;
  3123. position: absolute;
  3124. top: 0;
  3125. bottom: 0;
  3126. }
  3127. .media-modal__nav--left {
  3128. left: 0;
  3129. }
  3130. .media-modal__nav--right {
  3131. right: 0;
  3132. }
  3133. .media-modal__pagination {
  3134. width: 100%;
  3135. text-align: center;
  3136. position: absolute;
  3137. left: 0;
  3138. bottom: 20px;
  3139. pointer-events: none;
  3140. }
  3141. .media-modal__page-dot {
  3142. display: inline-block;
  3143. }
  3144. .media-modal__button {
  3145. background-color: $primary-text-color;
  3146. height: 12px;
  3147. width: 12px;
  3148. border-radius: 6px;
  3149. margin: 10px;
  3150. padding: 0;
  3151. border: 0;
  3152. font-size: 0;
  3153. }
  3154. .media-modal__button--active {
  3155. background-color: $highlight-text-color;
  3156. }
  3157. .media-modal__close {
  3158. position: absolute;
  3159. right: 8px;
  3160. top: 8px;
  3161. z-index: 100;
  3162. }
  3163. .onboarding-modal,
  3164. .error-modal,
  3165. .embed-modal {
  3166. background: $ui-secondary-color;
  3167. color: $inverted-text-color;
  3168. border-radius: 8px;
  3169. overflow: hidden;
  3170. display: flex;
  3171. flex-direction: column;
  3172. }
  3173. .error-modal__body {
  3174. height: 80vh;
  3175. width: 80vw;
  3176. max-width: 520px;
  3177. max-height: 420px;
  3178. position: relative;
  3179. & > div {
  3180. position: absolute;
  3181. top: 0;
  3182. left: 0;
  3183. width: 100%;
  3184. height: 100%;
  3185. box-sizing: border-box;
  3186. padding: 25px;
  3187. display: none;
  3188. flex-direction: column;
  3189. align-items: center;
  3190. justify-content: center;
  3191. display: flex;
  3192. opacity: 0;
  3193. user-select: text;
  3194. }
  3195. }
  3196. .error-modal__body {
  3197. display: flex;
  3198. flex-direction: column;
  3199. justify-content: center;
  3200. align-items: center;
  3201. text-align: center;
  3202. }
  3203. .onboarding-modal__paginator,
  3204. .error-modal__footer {
  3205. flex: 0 0 auto;
  3206. background: darken($ui-secondary-color, 8%);
  3207. display: flex;
  3208. padding: 25px;
  3209. & > div {
  3210. min-width: 33px;
  3211. }
  3212. .onboarding-modal__nav,
  3213. .error-modal__nav {
  3214. color: $lighter-text-color;
  3215. border: 0;
  3216. font-size: 14px;
  3217. font-weight: 500;
  3218. padding: 10px 25px;
  3219. line-height: inherit;
  3220. height: auto;
  3221. margin: -10px;
  3222. border-radius: 4px;
  3223. background-color: transparent;
  3224. &:hover,
  3225. &:focus,
  3226. &:active {
  3227. color: darken($lighter-text-color, 4%);
  3228. background-color: darken($ui-secondary-color, 16%);
  3229. }
  3230. &.onboarding-modal__done,
  3231. &.onboarding-modal__next {
  3232. color: $inverted-text-color;
  3233. &:hover,
  3234. &:focus,
  3235. &:active {
  3236. color: lighten($inverted-text-color, 4%);
  3237. }
  3238. }
  3239. }
  3240. }
  3241. .error-modal__footer {
  3242. justify-content: center;
  3243. }
  3244. .display-case {
  3245. text-align: center;
  3246. font-size: 15px;
  3247. margin-bottom: 15px;
  3248. &__label {
  3249. font-weight: 500;
  3250. color: $inverted-text-color;
  3251. margin-bottom: 5px;
  3252. text-transform: uppercase;
  3253. font-size: 12px;
  3254. }
  3255. &__case {
  3256. background: $ui-base-color;
  3257. color: $secondary-text-color;
  3258. font-weight: 500;
  3259. padding: 10px;
  3260. border-radius: 4px;
  3261. }
  3262. }
  3263. .onboard-sliders {
  3264. display: inline-block;
  3265. max-width: 30px;
  3266. max-height: auto;
  3267. margin-left: 10px;
  3268. }
  3269. .boost-modal,
  3270. .confirmation-modal,
  3271. .report-modal,
  3272. .actions-modal,
  3273. .mute-modal {
  3274. background: lighten($ui-secondary-color, 8%);
  3275. color: $inverted-text-color;
  3276. border-radius: 8px;
  3277. overflow: hidden;
  3278. max-width: 90vw;
  3279. width: 480px;
  3280. position: relative;
  3281. flex-direction: column;
  3282. .status__display-name {
  3283. display: block;
  3284. max-width: 100%;
  3285. padding-right: 25px;
  3286. }
  3287. .status__avatar {
  3288. height: 28px;
  3289. left: 10px;
  3290. position: absolute;
  3291. top: 10px;
  3292. width: 48px;
  3293. }
  3294. .status__content__spoiler-link {
  3295. color: lighten($secondary-text-color, 8%);
  3296. }
  3297. }
  3298. .actions-modal {
  3299. .status {
  3300. background: $white;
  3301. border-bottom-color: $ui-secondary-color;
  3302. padding-top: 10px;
  3303. padding-bottom: 10px;
  3304. }
  3305. .dropdown-menu__separator {
  3306. border-bottom-color: $ui-secondary-color;
  3307. }
  3308. }
  3309. .boost-modal__container {
  3310. overflow-x: scroll;
  3311. padding: 10px;
  3312. .status {
  3313. user-select: text;
  3314. border-bottom: 0;
  3315. }
  3316. }
  3317. .boost-modal__action-bar,
  3318. .confirmation-modal__action-bar,
  3319. .mute-modal__action-bar {
  3320. display: flex;
  3321. justify-content: space-between;
  3322. background: $ui-secondary-color;
  3323. padding: 10px;
  3324. line-height: 36px;
  3325. & > div {
  3326. flex: 1 1 auto;
  3327. text-align: right;
  3328. color: $lighter-text-color;
  3329. padding-right: 10px;
  3330. }
  3331. .button {
  3332. flex: 0 0 auto;
  3333. }
  3334. }
  3335. .boost-modal__status-header {
  3336. font-size: 15px;
  3337. }
  3338. .boost-modal__status-time {
  3339. float: right;
  3340. font-size: 14px;
  3341. }
  3342. .confirmation-modal {
  3343. max-width: 85vw;
  3344. @media screen and (min-width: 480px) {
  3345. max-width: 380px;
  3346. }
  3347. }
  3348. .mute-modal {
  3349. line-height: 24px;
  3350. }
  3351. .mute-modal .react-toggle {
  3352. vertical-align: middle;
  3353. }
  3354. .report-modal {
  3355. width: 90vw;
  3356. max-width: 700px;
  3357. }
  3358. .report-modal__container {
  3359. display: flex;
  3360. border-top: 1px solid $ui-secondary-color;
  3361. @media screen and (max-width: 480px) {
  3362. flex-wrap: wrap;
  3363. overflow-y: auto;
  3364. }
  3365. }
  3366. .report-modal__statuses,
  3367. .report-modal__comment {
  3368. box-sizing: border-box;
  3369. width: 50%;
  3370. @media screen and (max-width: 480px) {
  3371. width: 100%;
  3372. }
  3373. }
  3374. .report-modal__statuses {
  3375. flex: 1 1 auto;
  3376. min-height: 20vh;
  3377. max-height: 80vh;
  3378. overflow-y: auto;
  3379. overflow-x: hidden;
  3380. .status__content a {
  3381. color: $highlight-text-color;
  3382. }
  3383. .status__content,
  3384. .status__content p {
  3385. color: $inverted-text-color;
  3386. }
  3387. @media screen and (max-width: 480px) {
  3388. max-height: 10vh;
  3389. }
  3390. }
  3391. .report-modal__comment {
  3392. padding: 20px;
  3393. border-right: 1px solid $ui-secondary-color;
  3394. max-width: 320px;
  3395. p {
  3396. font-size: 14px;
  3397. line-height: 20px;
  3398. margin-bottom: 20px;
  3399. }
  3400. .setting-text {
  3401. display: block;
  3402. box-sizing: border-box;
  3403. width: 100%;
  3404. margin: 0;
  3405. color: $inverted-text-color;
  3406. background: $white;
  3407. padding: 10px;
  3408. font-family: inherit;
  3409. font-size: 14px;
  3410. resize: vertical;
  3411. border: 0;
  3412. outline: 0;
  3413. border-radius: 4px;
  3414. border: 1px solid $ui-secondary-color;
  3415. margin-bottom: 20px;
  3416. &:focus {
  3417. border: 1px solid darken($ui-secondary-color, 8%);
  3418. }
  3419. }
  3420. .setting-toggle {
  3421. margin-top: 20px;
  3422. margin-bottom: 24px;
  3423. &__label {
  3424. color: $inverted-text-color;
  3425. font-size: 14px;
  3426. }
  3427. }
  3428. @media screen and (max-width: 480px) {
  3429. padding: 10px;
  3430. max-width: 100%;
  3431. order: 2;
  3432. .setting-toggle {
  3433. margin-bottom: 4px;
  3434. }
  3435. }
  3436. }
  3437. .actions-modal {
  3438. .status {
  3439. overflow-y: auto;
  3440. max-height: 300px;
  3441. }
  3442. max-height: 80vh;
  3443. max-width: 80vw;
  3444. .actions-modal__item-label {
  3445. font-weight: 500;
  3446. }
  3447. ul {
  3448. overflow-y: auto;
  3449. flex-shrink: 0;
  3450. li:empty {
  3451. margin: 0;
  3452. }
  3453. li:not(:empty) {
  3454. a {
  3455. color: $inverted-text-color;
  3456. display: flex;
  3457. padding: 12px 16px;
  3458. font-size: 15px;
  3459. align-items: center;
  3460. text-decoration: none;
  3461. &,
  3462. button {
  3463. transition: none;
  3464. }
  3465. &.active,
  3466. &:hover,
  3467. &:active,
  3468. &:focus {
  3469. &,
  3470. button {
  3471. background: $ui-highlight-color;
  3472. color: $primary-text-color;
  3473. }
  3474. }
  3475. button:first-child {
  3476. margin-right: 10px;
  3477. }
  3478. }
  3479. }
  3480. }
  3481. }
  3482. .confirmation-modal__action-bar,
  3483. .mute-modal__action-bar {
  3484. .confirmation-modal__secondary-button,
  3485. .confirmation-modal__cancel-button,
  3486. .mute-modal__cancel-button {
  3487. background-color: transparent;
  3488. color: $lighter-text-color;
  3489. font-size: 14px;
  3490. font-weight: 500;
  3491. &:hover,
  3492. &:focus,
  3493. &:active {
  3494. color: darken($lighter-text-color, 4%);
  3495. }
  3496. }
  3497. }
  3498. .confirmation-modal__container,
  3499. .mute-modal__container,
  3500. .report-modal__target {
  3501. padding: 30px;
  3502. font-size: 16px;
  3503. text-align: center;
  3504. strong {
  3505. font-weight: 500;
  3506. @each $lang in $cjk-langs {
  3507. &:lang(#{$lang}) {
  3508. font-weight: 700;
  3509. }
  3510. }
  3511. }
  3512. }
  3513. .report-modal__target {
  3514. padding: 20px;
  3515. .media-modal__close {
  3516. top: 19px;
  3517. right: 15px;
  3518. }
  3519. }
  3520. .loading-bar {
  3521. background-color: $highlight-text-color;
  3522. height: 3px;
  3523. position: absolute;
  3524. top: 0;
  3525. left: 0;
  3526. }
  3527. .media-gallery__gifv__label {
  3528. display: block;
  3529. position: absolute;
  3530. color: $primary-text-color;
  3531. background: rgba($base-overlay-background, 0.5);
  3532. bottom: 6px;
  3533. left: 6px;
  3534. padding: 2px 6px;
  3535. border-radius: 2px;
  3536. font-size: 11px;
  3537. font-weight: 600;
  3538. z-index: 1;
  3539. pointer-events: none;
  3540. opacity: 0.9;
  3541. transition: opacity 0.1s ease;
  3542. }
  3543. .media-gallery__gifv {
  3544. &.autoplay {
  3545. .media-gallery__gifv__label {
  3546. display: none;
  3547. }
  3548. }
  3549. &:hover {
  3550. .media-gallery__gifv__label {
  3551. opacity: 1;
  3552. }
  3553. }
  3554. }
  3555. .attachment-list {
  3556. display: flex;
  3557. font-size: 14px;
  3558. border: 1px solid lighten($ui-base-color, 8%);
  3559. border-radius: 4px;
  3560. margin-top: 14px;
  3561. overflow: hidden;
  3562. &__icon {
  3563. flex: 0 0 auto;
  3564. color: $dark-text-color;
  3565. padding: 8px 18px;
  3566. cursor: default;
  3567. border-right: 1px solid lighten($ui-base-color, 8%);
  3568. display: flex;
  3569. flex-direction: column;
  3570. align-items: center;
  3571. justify-content: center;
  3572. font-size: 26px;
  3573. .fa {
  3574. display: block;
  3575. }
  3576. }
  3577. &__list {
  3578. list-style: none;
  3579. padding: 4px 0;
  3580. padding-left: 8px;
  3581. display: flex;
  3582. flex-direction: column;
  3583. justify-content: center;
  3584. li {
  3585. display: block;
  3586. padding: 4px 0;
  3587. }
  3588. a {
  3589. text-decoration: none;
  3590. color: $dark-text-color;
  3591. font-weight: 500;
  3592. &:hover {
  3593. text-decoration: underline;
  3594. }
  3595. }
  3596. }
  3597. &.compact {
  3598. border: 0;
  3599. margin-top: 4px;
  3600. .attachment-list__list {
  3601. padding: 0;
  3602. display: block;
  3603. }
  3604. .fa {
  3605. color: $dark-text-color;
  3606. }
  3607. }
  3608. }
  3609. /* Media Gallery */
  3610. .media-gallery {
  3611. box-sizing: border-box;
  3612. margin-top: 8px;
  3613. overflow: hidden;
  3614. border-radius: 4px;
  3615. position: relative;
  3616. width: 100%;
  3617. }
  3618. .media-gallery__item {
  3619. border: none;
  3620. box-sizing: border-box;
  3621. display: block;
  3622. float: left;
  3623. position: relative;
  3624. border-radius: 4px;
  3625. overflow: hidden;
  3626. &.standalone {
  3627. .media-gallery__item-gifv-thumbnail {
  3628. transform: none;
  3629. top: 0;
  3630. }
  3631. }
  3632. }
  3633. .media-gallery__item-thumbnail {
  3634. cursor: zoom-in;
  3635. display: block;
  3636. text-decoration: none;
  3637. color: $secondary-text-color;
  3638. line-height: 0;
  3639. &,
  3640. img {
  3641. height: 100%;
  3642. width: 100%;
  3643. }
  3644. img {
  3645. object-fit: cover;
  3646. }
  3647. }
  3648. .media-gallery__gifv {
  3649. height: 100%;
  3650. overflow: hidden;
  3651. position: relative;
  3652. width: 100%;
  3653. }
  3654. .media-gallery__item-gifv-thumbnail {
  3655. cursor: zoom-in;
  3656. height: 100%;
  3657. object-fit: cover;
  3658. position: relative;
  3659. top: 50%;
  3660. transform: translateY(-50%);
  3661. width: 100%;
  3662. z-index: 1;
  3663. }
  3664. .media-gallery__item-thumbnail-label {
  3665. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  3666. clip: rect(1px, 1px, 1px, 1px);
  3667. overflow: hidden;
  3668. position: absolute;
  3669. }
  3670. /* End Media Gallery */
  3671. /* Status Video Player */
  3672. .status__video-player {
  3673. background: $base-overlay-background;
  3674. box-sizing: border-box;
  3675. cursor: default; /* May not be needed */
  3676. margin-top: 8px;
  3677. overflow: hidden;
  3678. position: relative;
  3679. }
  3680. .status__video-player-video {
  3681. height: 100%;
  3682. object-fit: cover;
  3683. position: relative;
  3684. top: 50%;
  3685. transform: translateY(-50%);
  3686. width: 100%;
  3687. z-index: 1;
  3688. }
  3689. .status__video-player-expand,
  3690. .status__video-player-mute {
  3691. color: $primary-text-color;
  3692. opacity: 0.8;
  3693. position: absolute;
  3694. right: 4px;
  3695. text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
  3696. }
  3697. .status__video-player-spoiler {
  3698. display: none;
  3699. color: $primary-text-color;
  3700. left: 4px;
  3701. position: absolute;
  3702. text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
  3703. top: 4px;
  3704. z-index: 100;
  3705. &.status__video-player-spoiler--visible {
  3706. display: block;
  3707. }
  3708. }
  3709. .status__video-player-expand {
  3710. bottom: 4px;
  3711. z-index: 100;
  3712. }
  3713. .status__video-player-mute {
  3714. top: 4px;
  3715. z-index: 5;
  3716. }
  3717. .detailed,
  3718. .fullscreen {
  3719. .video-player__volume__current,
  3720. .video-player__volume::before {
  3721. bottom: 27px;
  3722. }
  3723. .video-player__volume__handle {
  3724. bottom: 23px;
  3725. }
  3726. }
  3727. .video-player {
  3728. overflow: hidden;
  3729. position: relative;
  3730. background: $base-shadow-color;
  3731. max-width: 100%;
  3732. border-radius: 4px;
  3733. &:focus {
  3734. outline: 0;
  3735. }
  3736. video {
  3737. max-width: 100vw;
  3738. max-height: 80vh;
  3739. z-index: 1;
  3740. }
  3741. &.fullscreen {
  3742. width: 100% !important;
  3743. height: 100% !important;
  3744. margin: 0;
  3745. video {
  3746. max-width: 100% !important;
  3747. max-height: 100% !important;
  3748. width: 100% !important;
  3749. height: 100% !important;
  3750. }
  3751. }
  3752. &.inline {
  3753. video {
  3754. object-fit: contain;
  3755. position: relative;
  3756. top: 50%;
  3757. transform: translateY(-50%);
  3758. }
  3759. }
  3760. &__controls {
  3761. position: absolute;
  3762. z-index: 2;
  3763. bottom: 0;
  3764. left: 0;
  3765. right: 0;
  3766. box-sizing: border-box;
  3767. background: linear-gradient(0deg, rgba($base-shadow-color, 0.85) 0, rgba($base-shadow-color, 0.45) 60%, transparent);
  3768. padding: 0 15px;
  3769. opacity: 0;
  3770. transition: opacity .1s ease;
  3771. &.active {
  3772. opacity: 1;
  3773. }
  3774. }
  3775. &.inactive {
  3776. video,
  3777. .video-player__controls {
  3778. visibility: hidden;
  3779. }
  3780. }
  3781. &__spoiler {
  3782. display: none;
  3783. position: absolute;
  3784. top: 0;
  3785. left: 0;
  3786. width: 100%;
  3787. height: 100%;
  3788. z-index: 4;
  3789. border: 0;
  3790. background: $base-overlay-background;
  3791. color: $darker-text-color;
  3792. transition: none;
  3793. pointer-events: none;
  3794. &.active {
  3795. display: block;
  3796. pointer-events: auto;
  3797. &:hover,
  3798. &:active,
  3799. &:focus {
  3800. color: lighten($darker-text-color, 7%);
  3801. }
  3802. }
  3803. &__title {
  3804. display: block;
  3805. font-size: 14px;
  3806. }
  3807. &__subtitle {
  3808. display: block;
  3809. font-size: 11px;
  3810. font-weight: 500;
  3811. }
  3812. }
  3813. &__buttons-bar {
  3814. display: flex;
  3815. justify-content: space-between;
  3816. padding-bottom: 10px;
  3817. }
  3818. &__buttons {
  3819. font-size: 16px;
  3820. white-space: nowrap;
  3821. overflow: hidden;
  3822. text-overflow: ellipsis;
  3823. &.left {
  3824. button {
  3825. padding-left: 0;
  3826. }
  3827. }
  3828. &.right {
  3829. button {
  3830. padding-right: 0;
  3831. }
  3832. }
  3833. button {
  3834. background: transparent;
  3835. padding: 2px 10px;
  3836. font-size: 16px;
  3837. border: 0;
  3838. color: rgba($white, 0.75);
  3839. &:active,
  3840. &:hover,
  3841. &:focus {
  3842. color: $white;
  3843. }
  3844. }
  3845. }
  3846. &__time-sep,
  3847. &__time-total,
  3848. &__time-current {
  3849. font-size: 14px;
  3850. font-weight: 500;
  3851. }
  3852. &__time-current {
  3853. color: $white;
  3854. margin-left: 60px;
  3855. }
  3856. &__time-sep {
  3857. display: inline-block;
  3858. margin: 0 6px;
  3859. }
  3860. &__time-sep,
  3861. &__time-total {
  3862. color: $white;
  3863. }
  3864. &__volume {
  3865. cursor: pointer;
  3866. height: 24px;
  3867. display: inline;
  3868. &::before {
  3869. content: "";
  3870. width: 50px;
  3871. background: rgba($white, 0.35);
  3872. border-radius: 4px;
  3873. display: block;
  3874. position: absolute;
  3875. height: 4px;
  3876. left: 70px;
  3877. bottom: 20px;
  3878. }
  3879. &__current {
  3880. display: block;
  3881. position: absolute;
  3882. height: 4px;
  3883. border-radius: 4px;
  3884. left: 70px;
  3885. bottom: 20px;
  3886. background: lighten($ui-highlight-color, 8%);
  3887. }
  3888. &__handle {
  3889. position: absolute;
  3890. z-index: 3;
  3891. border-radius: 50%;
  3892. width: 12px;
  3893. height: 12px;
  3894. bottom: 16px;
  3895. left: 70px;
  3896. transition: opacity .1s ease;
  3897. background: lighten($ui-highlight-color, 8%);
  3898. box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
  3899. pointer-events: none;
  3900. }
  3901. }
  3902. &__seek {
  3903. cursor: pointer;
  3904. height: 24px;
  3905. position: relative;
  3906. &::before {
  3907. content: "";
  3908. width: 100%;
  3909. background: rgba($white, 0.35);
  3910. border-radius: 4px;
  3911. display: block;
  3912. position: absolute;
  3913. height: 4px;
  3914. top: 10px;
  3915. }
  3916. &__progress,
  3917. &__buffer {
  3918. display: block;
  3919. position: absolute;
  3920. height: 4px;
  3921. border-radius: 4px;
  3922. top: 10px;
  3923. background: lighten($ui-highlight-color, 8%);
  3924. }
  3925. &__buffer {
  3926. background: rgba($white, 0.2);
  3927. }
  3928. &__handle {
  3929. position: absolute;
  3930. z-index: 3;
  3931. opacity: 0;
  3932. border-radius: 50%;
  3933. width: 12px;
  3934. height: 12px;
  3935. top: 6px;
  3936. margin-left: -6px;
  3937. transition: opacity .1s ease;
  3938. background: lighten($ui-highlight-color, 8%);
  3939. box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
  3940. pointer-events: none;
  3941. &.active {
  3942. opacity: 1;
  3943. }
  3944. }
  3945. &:hover {
  3946. .video-player__seek__handle {
  3947. opacity: 1;
  3948. }
  3949. }
  3950. }
  3951. &.detailed,
  3952. &.fullscreen {
  3953. .video-player__buttons {
  3954. button {
  3955. padding-top: 10px;
  3956. padding-bottom: 10px;
  3957. }
  3958. }
  3959. }
  3960. }
  3961. .media-spoiler-video {
  3962. background-size: cover;
  3963. background-repeat: no-repeat;
  3964. background-position: center;
  3965. cursor: pointer;
  3966. margin-top: 8px;
  3967. position: relative;
  3968. border: 0;
  3969. display: block;
  3970. }
  3971. .media-spoiler-video-play-icon {
  3972. border-radius: 100px;
  3973. color: rgba($primary-text-color, 0.8);
  3974. font-size: 36px;
  3975. left: 50%;
  3976. padding: 5px;
  3977. position: absolute;
  3978. top: 50%;
  3979. transform: translate(-50%, -50%);
  3980. }
  3981. /* End Video Player */
  3982. .account-gallery__container {
  3983. display: flex;
  3984. justify-content: center;
  3985. flex-wrap: wrap;
  3986. padding: 2px;
  3987. }
  3988. .account-gallery__item {
  3989. flex-grow: 1;
  3990. width: 50%;
  3991. overflow: hidden;
  3992. position: relative;
  3993. &::before {
  3994. content: "";
  3995. display: block;
  3996. padding-top: 100%;
  3997. }
  3998. a {
  3999. display: block;
  4000. width: calc(100% - 4px);
  4001. height: calc(100% - 4px);
  4002. margin: 2px;
  4003. top: 0;
  4004. left: 0;
  4005. background-color: $base-overlay-background;
  4006. background-size: cover;
  4007. background-position: center;
  4008. position: absolute;
  4009. color: $darker-text-color;
  4010. text-decoration: none;
  4011. border-radius: 4px;
  4012. &:hover,
  4013. &:active,
  4014. &:focus {
  4015. outline: 0;
  4016. color: $secondary-text-color;
  4017. &::before {
  4018. content: "";
  4019. display: block;
  4020. width: 100%;
  4021. height: 100%;
  4022. background: rgba($base-overlay-background, 0.3);
  4023. border-radius: 4px;
  4024. }
  4025. }
  4026. }
  4027. &__icons {
  4028. position: absolute;
  4029. top: 50%;
  4030. left: 50%;
  4031. transform: translate(-50%, -50%);
  4032. font-size: 24px;
  4033. }
  4034. }
  4035. .notification__filter-bar,
  4036. .account__section-headline {
  4037. background: darken($ui-base-color, 4%);
  4038. border-bottom: 1px solid lighten($ui-base-color, 8%);
  4039. cursor: default;
  4040. display: flex;
  4041. flex-shrink: 0;
  4042. button {
  4043. background: darken($ui-base-color, 4%);
  4044. border: 0;
  4045. margin: 0;
  4046. }
  4047. button,
  4048. a {
  4049. display: block;
  4050. flex: 1 1 auto;
  4051. color: $darker-text-color;
  4052. padding: 15px 0;
  4053. font-size: 14px;
  4054. font-weight: 500;
  4055. text-align: center;
  4056. text-decoration: none;
  4057. position: relative;
  4058. &.active {
  4059. color: $secondary-text-color;
  4060. &::before,
  4061. &::after {
  4062. display: block;
  4063. content: "";
  4064. position: absolute;
  4065. bottom: 0;
  4066. left: 50%;
  4067. width: 0;
  4068. height: 0;
  4069. transform: translateX(-50%);
  4070. border-style: solid;
  4071. border-width: 0 10px 10px;
  4072. border-color: transparent transparent lighten($ui-base-color, 8%);
  4073. }
  4074. &::after {
  4075. bottom: -1px;
  4076. border-color: transparent transparent $ui-base-color;
  4077. }
  4078. }
  4079. }
  4080. }
  4081. ::-webkit-scrollbar-thumb {
  4082. border-radius: 0;
  4083. }
  4084. .search-popout {
  4085. @include search-popout();
  4086. }
  4087. noscript {
  4088. text-align: center;
  4089. img {
  4090. width: 200px;
  4091. opacity: 0.5;
  4092. animation: flicker 4s infinite;
  4093. }
  4094. div {
  4095. font-size: 14px;
  4096. margin: 30px auto;
  4097. color: $secondary-text-color;
  4098. max-width: 400px;
  4099. a {
  4100. color: $highlight-text-color;
  4101. text-decoration: underline;
  4102. &:hover {
  4103. text-decoration: none;
  4104. }
  4105. }
  4106. }
  4107. }
  4108. @keyframes flicker {
  4109. 0% { opacity: 1; }
  4110. 30% { opacity: 0.75; }
  4111. 100% { opacity: 1; }
  4112. }
  4113. @media screen and (max-width: 630px) and (max-height: 400px) {
  4114. $duration: 400ms;
  4115. $delay: 100ms;
  4116. .tabs-bar,
  4117. .search {
  4118. will-change: margin-top;
  4119. transition: margin-top $duration $delay;
  4120. }
  4121. .navigation-bar {
  4122. will-change: padding-bottom;
  4123. transition: padding-bottom $duration $delay;
  4124. }
  4125. .navigation-bar {
  4126. & > a:first-child {
  4127. will-change: margin-top, margin-left, margin-right, width;
  4128. transition: margin-top $duration $delay, margin-left $duration ($duration + $delay), margin-right $duration ($duration + $delay);
  4129. }
  4130. & > .navigation-bar__profile-edit {
  4131. will-change: margin-top;
  4132. transition: margin-top $duration $delay;
  4133. }
  4134. .navigation-bar__actions {
  4135. & > .icon-button.close {
  4136. will-change: opacity transform;
  4137. transition: opacity $duration * 0.5 $delay,
  4138. transform $duration $delay;
  4139. }
  4140. & > .compose__action-bar .icon-button {
  4141. will-change: opacity transform;
  4142. transition: opacity $duration * 0.5 $delay + $duration * 0.5,
  4143. transform $duration $delay;
  4144. }
  4145. }
  4146. }
  4147. .is-composing {
  4148. .tabs-bar,
  4149. .search {
  4150. margin-top: -50px;
  4151. }
  4152. .navigation-bar {
  4153. padding-bottom: 0;
  4154. & > a:first-child {
  4155. margin: -100px 10px 0 -50px;
  4156. }
  4157. .navigation-bar__profile {
  4158. padding-top: 2px;
  4159. }
  4160. .navigation-bar__profile-edit {
  4161. position: absolute;
  4162. margin-top: -60px;
  4163. }
  4164. .navigation-bar__actions {
  4165. .icon-button.close {
  4166. pointer-events: auto;
  4167. opacity: 1;
  4168. transform: scale(1.0, 1.0) translate(0, 0);
  4169. bottom: 5px;
  4170. }
  4171. .compose__action-bar .icon-button {
  4172. pointer-events: none;
  4173. opacity: 0;
  4174. transform: scale(0.0, 1.0) translate(100%, 0);
  4175. }
  4176. }
  4177. }
  4178. }
  4179. }
  4180. .embed-modal {
  4181. max-width: 80vw;
  4182. max-height: 80vh;
  4183. h4 {
  4184. padding: 30px;
  4185. font-weight: 500;
  4186. font-size: 16px;
  4187. text-align: center;
  4188. }
  4189. .embed-modal__container {
  4190. padding: 10px;
  4191. .hint {
  4192. margin-bottom: 15px;
  4193. }
  4194. .embed-modal__html {
  4195. outline: 0;
  4196. box-sizing: border-box;
  4197. display: block;
  4198. width: 100%;
  4199. border: none;
  4200. padding: 10px;
  4201. font-family: $font-monospace, monospace;
  4202. background: $ui-base-color;
  4203. color: $primary-text-color;
  4204. font-size: 14px;
  4205. margin: 0;
  4206. margin-bottom: 15px;
  4207. &::-moz-focus-inner {
  4208. border: 0;
  4209. }
  4210. &::-moz-focus-inner,
  4211. &:focus,
  4212. &:active {
  4213. outline: 0 !important;
  4214. }
  4215. &:focus {
  4216. background: lighten($ui-base-color, 4%);
  4217. }
  4218. @media screen and (max-width: 600px) {
  4219. font-size: 16px;
  4220. }
  4221. }
  4222. .embed-modal__iframe {
  4223. width: 400px;
  4224. max-width: 100%;
  4225. overflow: hidden;
  4226. border: 0;
  4227. }
  4228. }
  4229. }
  4230. .account__moved-note {
  4231. padding: 14px 10px;
  4232. padding-bottom: 16px;
  4233. background: lighten($ui-base-color, 4%);
  4234. border-top: 1px solid lighten($ui-base-color, 8%);
  4235. border-bottom: 1px solid lighten($ui-base-color, 8%);
  4236. &__message {
  4237. position: relative;
  4238. margin-left: 58px;
  4239. color: $dark-text-color;
  4240. padding: 8px 0;
  4241. padding-top: 0;
  4242. padding-bottom: 4px;
  4243. font-size: 14px;
  4244. > span {
  4245. display: block;
  4246. overflow: hidden;
  4247. text-overflow: ellipsis;
  4248. }
  4249. }
  4250. &__icon-wrapper {
  4251. left: -26px;
  4252. position: absolute;
  4253. }
  4254. .detailed-status__display-avatar {
  4255. position: relative;
  4256. }
  4257. .detailed-status__display-name {
  4258. margin-bottom: 0;
  4259. }
  4260. }
  4261. .column-inline-form {
  4262. padding: 7px 15px;
  4263. padding-right: 5px;
  4264. display: flex;
  4265. justify-content: flex-start;
  4266. align-items: center;
  4267. background: lighten($ui-base-color, 4%);
  4268. label {
  4269. flex: 1 1 auto;
  4270. input {
  4271. width: 100%;
  4272. margin-bottom: 6px;
  4273. &:focus {
  4274. outline: 0;
  4275. }
  4276. }
  4277. }
  4278. .icon-button {
  4279. flex: 0 0 auto;
  4280. margin: 0 5px;
  4281. }
  4282. }
  4283. .drawer__backdrop {
  4284. cursor: pointer;
  4285. position: absolute;
  4286. top: 0;
  4287. left: 0;
  4288. width: 100%;
  4289. height: 100%;
  4290. background: rgba($base-overlay-background, 0.5);
  4291. }
  4292. .list-editor {
  4293. background: $ui-base-color;
  4294. flex-direction: column;
  4295. border-radius: 8px;
  4296. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  4297. width: 380px;
  4298. overflow: hidden;
  4299. @media screen and (max-width: 420px) {
  4300. width: 90%;
  4301. }
  4302. h4 {
  4303. padding: 15px 0;
  4304. background: lighten($ui-base-color, 13%);
  4305. font-weight: 500;
  4306. font-size: 16px;
  4307. text-align: center;
  4308. border-radius: 8px 8px 0 0;
  4309. }
  4310. .drawer__pager {
  4311. height: 50vh;
  4312. }
  4313. .drawer__inner {
  4314. border-radius: 0 0 8px 8px;
  4315. &.backdrop {
  4316. width: calc(100% - 60px);
  4317. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  4318. border-radius: 0 0 0 8px;
  4319. }
  4320. }
  4321. &__accounts {
  4322. overflow-y: auto;
  4323. }
  4324. .account__display-name {
  4325. &:hover strong {
  4326. text-decoration: none;
  4327. }
  4328. }
  4329. .account__avatar {
  4330. cursor: default;
  4331. }
  4332. .search {
  4333. margin-bottom: 0;
  4334. }
  4335. }
  4336. .list-adder {
  4337. background: $ui-base-color;
  4338. flex-direction: column;
  4339. border-radius: 8px;
  4340. box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
  4341. width: 380px;
  4342. overflow: hidden;
  4343. @media screen and (max-width: 420px) {
  4344. width: 90%;
  4345. }
  4346. &__account {
  4347. background: lighten($ui-base-color, 13%);
  4348. }
  4349. &__lists {
  4350. background: lighten($ui-base-color, 13%);
  4351. height: 50vh;
  4352. border-radius: 0 0 8px 8px;
  4353. overflow-y: auto;
  4354. }
  4355. .list {
  4356. padding: 10px;
  4357. border-bottom: 1px solid lighten($ui-base-color, 8%);
  4358. }
  4359. .list__wrapper {
  4360. display: flex;
  4361. }
  4362. .list__display-name {
  4363. flex: 1 1 auto;
  4364. overflow: hidden;
  4365. text-decoration: none;
  4366. font-size: 16px;
  4367. padding: 10px;
  4368. }
  4369. }
  4370. .focal-point-modal {
  4371. max-width: 80vw;
  4372. max-height: 80vh;
  4373. position: relative;
  4374. }
  4375. .focal-point {
  4376. position: relative;
  4377. cursor: pointer;
  4378. overflow: hidden;
  4379. &.dragging {
  4380. cursor: move;
  4381. }
  4382. img {
  4383. max-width: 80vw;
  4384. max-height: 80vh;
  4385. width: auto;
  4386. height: auto;
  4387. margin: auto;
  4388. }
  4389. &__reticle {
  4390. position: absolute;
  4391. width: 100px;
  4392. height: 100px;
  4393. transform: translate(-50%, -50%);
  4394. background: url('../images/reticle.png') no-repeat 0 0;
  4395. border-radius: 50%;
  4396. box-shadow: 0 0 0 9999em rgba($base-shadow-color, 0.35);
  4397. }
  4398. &__overlay {
  4399. position: absolute;
  4400. width: 100%;
  4401. height: 100%;
  4402. top: 0;
  4403. left: 0;
  4404. }
  4405. }
  4406. .floating-action-button {
  4407. position: fixed;
  4408. display: flex;
  4409. justify-content: center;
  4410. align-items: center;
  4411. width: 3.9375rem;
  4412. height: 3.9375rem;
  4413. bottom: 1.3125rem;
  4414. right: 1.3125rem;
  4415. background: darken($ui-highlight-color, 3%);
  4416. color: $white;
  4417. border-radius: 50%;
  4418. font-size: 21px;
  4419. line-height: 21px;
  4420. text-decoration: none;
  4421. box-shadow: 2px 3px 9px rgba($base-shadow-color, 0.4);
  4422. &:hover,
  4423. &:focus,
  4424. &:active {
  4425. background: lighten($ui-highlight-color, 7%);
  4426. }
  4427. }
  4428. .account__header__content {
  4429. color: $darker-text-color;
  4430. font-size: 14px;
  4431. font-weight: 400;
  4432. overflow: hidden;
  4433. word-break: normal;
  4434. word-wrap: break-word;
  4435. p {
  4436. margin-bottom: 20px;
  4437. &:last-child {
  4438. margin-bottom: 0;
  4439. }
  4440. }
  4441. a {
  4442. color: inherit;
  4443. text-decoration: underline;
  4444. &:hover {
  4445. text-decoration: none;
  4446. }
  4447. }
  4448. }
  4449. .account__header {
  4450. overflow: hidden;
  4451. &.inactive {
  4452. opacity: 0.5;
  4453. .account__header__image,
  4454. .account__avatar {
  4455. filter: grayscale(100%);
  4456. }
  4457. }
  4458. &__info {
  4459. position: absolute;
  4460. top: 10px;
  4461. left: 10px;
  4462. }
  4463. &__image {
  4464. overflow: hidden;
  4465. height: 145px;
  4466. position: relative;
  4467. background: darken($ui-base-color, 4%);
  4468. img {
  4469. object-fit: cover;
  4470. display: block;
  4471. width: 100%;
  4472. height: 100%;
  4473. margin: 0;
  4474. }
  4475. }
  4476. &__bar {
  4477. position: relative;
  4478. background: lighten($ui-base-color, 4%);
  4479. padding: 5px;
  4480. border-bottom: 1px solid lighten($ui-base-color, 12%);
  4481. .avatar {
  4482. display: block;
  4483. flex: 0 0 auto;
  4484. width: 94px;
  4485. margin-left: -2px;
  4486. .account__avatar {
  4487. background: darken($ui-base-color, 8%);
  4488. border: 2px solid lighten($ui-base-color, 4%);
  4489. }
  4490. }
  4491. }
  4492. &__tabs {
  4493. display: flex;
  4494. align-items: flex-start;
  4495. padding: 7px 5px;
  4496. margin-top: -55px;
  4497. &__buttons {
  4498. display: flex;
  4499. align-items: center;
  4500. padding-top: 55px;
  4501. overflow: hidden;
  4502. .icon-button {
  4503. border: 1px solid lighten($ui-base-color, 12%);
  4504. border-radius: 4px;
  4505. box-sizing: content-box;
  4506. padding: 2px;
  4507. }
  4508. .button {
  4509. margin: 0 8px;
  4510. }
  4511. }
  4512. &__name {
  4513. padding: 5px;
  4514. .account-role {
  4515. vertical-align: top;
  4516. }
  4517. .emojione {
  4518. width: 22px;
  4519. height: 22px;
  4520. }
  4521. h1 {
  4522. font-size: 16px;
  4523. line-height: 24px;
  4524. color: $primary-text-color;
  4525. font-weight: 500;
  4526. overflow: hidden;
  4527. white-space: nowrap;
  4528. text-overflow: ellipsis;
  4529. small {
  4530. display: block;
  4531. font-size: 14px;
  4532. color: $darker-text-color;
  4533. font-weight: 400;
  4534. overflow: hidden;
  4535. text-overflow: ellipsis;
  4536. }
  4537. }
  4538. }
  4539. .spacer {
  4540. flex: 1 1 auto;
  4541. }
  4542. }
  4543. &__bio {
  4544. overflow: hidden;
  4545. margin: 0 -5px;
  4546. .account__header__content {
  4547. padding: 20px 15px;
  4548. padding-bottom: 5px;
  4549. color: $primary-text-color;
  4550. }
  4551. .account__header__fields {
  4552. margin: 0;
  4553. border-top: 1px solid lighten($ui-base-color, 12%);
  4554. a {
  4555. color: lighten($ui-highlight-color, 8%);
  4556. }
  4557. dl:first-child .verified {
  4558. border-radius: 0 4px 0 0;
  4559. }
  4560. .verified a {
  4561. color: $valid-value-color;
  4562. }
  4563. }
  4564. }
  4565. &__extra {
  4566. margin-top: 4px;
  4567. &__links {
  4568. font-size: 14px;
  4569. color: $darker-text-color;
  4570. a {
  4571. display: inline-block;
  4572. color: $darker-text-color;
  4573. text-decoration: none;
  4574. padding: 10px;
  4575. padding-top: 20px;
  4576. font-weight: 500;
  4577. strong {
  4578. font-weight: 700;
  4579. color: $primary-text-color;
  4580. }
  4581. }
  4582. }
  4583. }
  4584. }
  4585. .trends {
  4586. &__header {
  4587. color: $dark-text-color;
  4588. background: lighten($ui-base-color, 2%);
  4589. border-bottom: 1px solid darken($ui-base-color, 4%);
  4590. font-weight: 500;
  4591. padding: 15px;
  4592. font-size: 16px;
  4593. cursor: default;
  4594. .fa {
  4595. display: inline-block;
  4596. margin-right: 5px;
  4597. }
  4598. }
  4599. &__item {
  4600. display: flex;
  4601. align-items: center;
  4602. padding: 15px;
  4603. border-bottom: 1px solid lighten($ui-base-color, 8%);
  4604. &:last-child {
  4605. border-bottom: 0;
  4606. }
  4607. &__name {
  4608. flex: 1 1 auto;
  4609. color: $dark-text-color;
  4610. overflow: hidden;
  4611. text-overflow: ellipsis;
  4612. white-space: nowrap;
  4613. strong {
  4614. font-weight: 500;
  4615. }
  4616. a {
  4617. color: $darker-text-color;
  4618. text-decoration: none;
  4619. font-size: 14px;
  4620. font-weight: 500;
  4621. display: block;
  4622. overflow: hidden;
  4623. text-overflow: ellipsis;
  4624. white-space: nowrap;
  4625. &:hover,
  4626. &:focus,
  4627. &:active {
  4628. span {
  4629. text-decoration: underline;
  4630. }
  4631. }
  4632. }
  4633. }
  4634. &__current {
  4635. flex: 0 0 auto;
  4636. width: 100px;
  4637. font-size: 24px;
  4638. line-height: 36px;
  4639. font-weight: 500;
  4640. text-align: center;
  4641. color: $secondary-text-color;
  4642. }
  4643. &__sparkline {
  4644. flex: 0 0 auto;
  4645. width: 50px;
  4646. path {
  4647. stroke: lighten($highlight-text-color, 6%) !important;
  4648. }
  4649. }
  4650. }
  4651. }