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.
 
 
 
 

5559 lines
94 KiB

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