The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

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