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.

3215 lines
51 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. @import 'variables';
  2. .app-body {
  3. -webkit-overflow-scrolling: touch;
  4. -ms-overflow-style: -ms-autohiding-scrollbar;
  5. }
  6. .button {
  7. background-color: darken($color4, 3%);
  8. border: 10px none;
  9. border-radius: 4px;
  10. box-sizing: border-box;
  11. color: $color5;
  12. cursor: pointer;
  13. display: inline-block;
  14. font-family: inherit;
  15. font-size: 14px;
  16. font-weight: 500;
  17. height: 36px;
  18. letter-spacing: 0;
  19. line-height: 36px;
  20. overflow: hidden;
  21. padding: 0 16px;
  22. position: relative;
  23. text-align: center;
  24. text-transform: uppercase;
  25. text-decoration: none;
  26. text-overflow: ellipsis;
  27. transition: all 100ms ease-in;
  28. white-space: nowrap;
  29. &:active,
  30. &:focus,
  31. &:hover {
  32. background-color: lighten($color4, 7%);
  33. transition: all 200ms ease-out;
  34. }
  35. &:disabled {
  36. background-color: $color3;
  37. cursor: default;
  38. }
  39. &.button-secondary {
  40. //
  41. }
  42. }
  43. .column-collapsable {
  44. position: relative;
  45. }
  46. .column-icon {
  47. background: lighten($color1, 4%);
  48. color: $color3;
  49. cursor: pointer;
  50. font-size: 16px;
  51. padding: 15px;
  52. position: absolute;
  53. right: 0;
  54. top: -48px;
  55. z-index: 3;
  56. &:hover {
  57. color: lighten($color3, 7%);
  58. }
  59. }
  60. .column-icon-clear {
  61. font-size: 16px;
  62. padding: 15px;
  63. position: absolute;
  64. right: 48px;
  65. top: 0;
  66. cursor: pointer;
  67. z-index: 2;
  68. }
  69. @media screen and (min-width: 1025px) {
  70. .column-icon-clear {
  71. top: 10px;
  72. }
  73. }
  74. .icon-button {
  75. display: inline-block;
  76. padding: 0;
  77. color: lighten($color1, 26%);
  78. border: none;
  79. background: transparent;
  80. cursor: pointer;
  81. transition: color 100ms ease-in;
  82. &:hover, &:active, &:focus {
  83. color: lighten($color1, 33%);
  84. transition: color 200ms ease-out;
  85. }
  86. &.disabled {
  87. color: lighten($color1, 13%);
  88. cursor: default;
  89. }
  90. &.active {
  91. color: $color4;
  92. }
  93. &::-moz-focus-inner {
  94. border: 0;
  95. }
  96. &::-moz-focus-inner, &:focus, &:active {
  97. outline: 0 !important;
  98. }
  99. &.inverted {
  100. color: lighten($color1, 33%);
  101. &:hover, &:active, &:focus {
  102. color: lighten($color1, 26%);
  103. }
  104. &.active {
  105. color: $color4;
  106. }
  107. &.disabled {
  108. color: $color3;
  109. }
  110. }
  111. &.overlayed {
  112. box-sizing: content-box;
  113. background: rgba($color8, 0.6);
  114. color: rgba($color5, 0.7);
  115. border-radius: 4px;
  116. padding: 2px;
  117. &:hover {
  118. background: rgba($color8, 0.9);
  119. }
  120. }
  121. }
  122. .text-icon-button {
  123. color: lighten($color1, 33%);
  124. border: none;
  125. background: transparent;
  126. cursor: pointer;
  127. font-weight: 600;
  128. font-size: 11px;
  129. padding: 0 3px;
  130. line-height: 27px;
  131. outline: 0;
  132. transition: color 100ms ease-in;
  133. &:hover, &:active, &:focus {
  134. color: lighten($color1, 26%);
  135. transition: color 200ms ease-out;
  136. }
  137. &.disabled {
  138. color: lighten($color1, 13%);
  139. cursor: default;
  140. }
  141. &.active {
  142. color: $color4;
  143. }
  144. &::-moz-focus-inner {
  145. border: 0;
  146. }
  147. &::-moz-focus-inner, &:focus, &:active {
  148. outline: 0 !important;
  149. }
  150. }
  151. .dropdown--active .icon-button {
  152. color: $color4;
  153. }
  154. .dropdown--active:after {
  155. content: "";
  156. display: block;
  157. position: absolute;
  158. width: 0;
  159. height: 0;
  160. border-style: solid;
  161. border-width: 0 4.5px 7.8px 4.5px;
  162. border-color: transparent transparent $color2 transparent;
  163. bottom: 8px;
  164. right: 104px;
  165. }
  166. .invisible {
  167. font-size: 0;
  168. line-height: 0;
  169. display: inline-block;
  170. width: 0;
  171. }
  172. .ellipsis {
  173. &:after {
  174. content: "";
  175. }
  176. }
  177. .lightbox .icon-button {
  178. color: $color1;
  179. }
  180. .compose-form {
  181. padding: 10px;
  182. }
  183. .compose-form__warning {
  184. color: darken($color3, 33%);
  185. margin-bottom: 15px;
  186. background: $color3;
  187. box-shadow: 0 2px 6px rgba($color8, 0.3);
  188. padding: 8px 10px;
  189. border-radius: 4px;
  190. font-size: 13px;
  191. font-weight: 400;
  192. strong {
  193. color: darken($color3, 33%);
  194. font-weight: 500;
  195. }
  196. a {
  197. color: darken($color3, 33%);
  198. font-weight: 500;
  199. text-decoration: underline;
  200. &:hover, &:active, &:focus {
  201. text-decoration: none;
  202. }
  203. }
  204. }
  205. .compose-form__modifiers {
  206. color: $color1;
  207. font-family: inherit;
  208. font-size: 14px;
  209. background: $color5;
  210. border-radius: 0 0 4px 0;
  211. }
  212. .compose-form__buttons-wrapper {
  213. display: flex;
  214. justify-content: space-between;
  215. }
  216. .compose-form__buttons {
  217. padding: 10px;
  218. background: darken($color5, 8%);
  219. box-shadow: inset 0 5px 5px rgba($color8, 0.05);
  220. border-radius: 0 0 4px 4px;
  221. display: flex;
  222. .icon-button {
  223. box-sizing: content-box;
  224. padding: 0 3px;
  225. }
  226. }
  227. .compose-form__upload-button-icon {
  228. line-height: 27px;
  229. }
  230. .compose-form__upload-wrapper {
  231. overflow: hidden;
  232. }
  233. .compose-form__uploads-wrapper {
  234. display: flex;
  235. padding: 5px;
  236. }
  237. .compose-form__upload {
  238. flex: 1 1 0;
  239. margin: 5px;
  240. }
  241. .compose-form__upload-thumbnail {
  242. border-radius: 4px;
  243. background-position: center;
  244. background-size: cover;
  245. background-repeat: no-repeat;
  246. height: 100px;
  247. width: 100%;
  248. }
  249. .compose-form__upload-cancel {
  250. background-size: cover;
  251. border-radius: 4px;
  252. height: 100px;
  253. width: 100px;
  254. }
  255. .compose-form__label {
  256. display: block;
  257. line-height: 24px;
  258. vertical-align: middle;
  259. &.with-border {
  260. border-top: 1px solid $color1;
  261. padding-top: 10px;
  262. }
  263. .compose-form__label__text {
  264. display: inline-block;
  265. vertical-align: middle;
  266. margin-bottom: 14px;
  267. margin-left: 8px;
  268. color: $color3;
  269. }
  270. }
  271. .compose-form__textarea, .follow-form__input {
  272. background: $color5;
  273. &:disabled {
  274. background: $color2;
  275. }
  276. }
  277. .compose-form__autosuggest-wrapper {
  278. position: relative;
  279. .dropdown--active:after {
  280. border-color: transparent transparent $color5 transparent;
  281. bottom: -1px;
  282. right: 8px;
  283. }
  284. }
  285. .compose-form__publish {
  286. display: flex;
  287. min-width: 0;
  288. }
  289. .compose-form__publish-button-wrapper {
  290. overflow: hidden;
  291. padding-top: 10px;
  292. }
  293. .emojione {
  294. display: inline-block;
  295. font-size: inherit;
  296. vertical-align: middle;
  297. margin: -.2ex .15em .2ex;
  298. width: 16px;
  299. height: 16px;
  300. img {
  301. width: auto;
  302. }
  303. }
  304. .reply-indicator {
  305. border-radius: 4px 4px 0 0;
  306. position: relative;
  307. bottom: -2px;
  308. background: $color3;
  309. padding: 10px;
  310. }
  311. .reply-indicator__header {
  312. margin-bottom: 5px;
  313. overflow: hidden;
  314. }
  315. .reply-indicator__cancel {
  316. float: right;
  317. line-height: 24px;
  318. }
  319. .reply-indicator__display-name {
  320. color: $color1;
  321. display: block;
  322. max-width: 100%;
  323. line-height: 24px;
  324. overflow: hidden;
  325. padding-right: 25px;
  326. text-decoration: none;
  327. }
  328. .reply-indicator__display-avatar {
  329. float: left;
  330. margin-right: 5px;
  331. }
  332. .status__content {
  333. cursor: pointer;
  334. }
  335. .status__content--no-action {
  336. cursor: default;
  337. }
  338. .status__content,
  339. .reply-indicator__content {
  340. font-size: 15px;
  341. line-height: 20px;
  342. word-wrap: break-word;
  343. font-weight: 400;
  344. overflow: hidden;
  345. white-space: pre-wrap;
  346. .emojione {
  347. width: 18px;
  348. height: 18px;
  349. }
  350. p {
  351. margin-bottom: 20px;
  352. &:last-child {
  353. margin-bottom: 0;
  354. }
  355. }
  356. a {
  357. color: $color2;
  358. text-decoration: none;
  359. &:hover {
  360. text-decoration: underline;
  361. .fa {
  362. color: lighten($color1, 40%);
  363. }
  364. }
  365. &.mention {
  366. &:hover {
  367. text-decoration: none;
  368. span {
  369. text-decoration: underline;
  370. }
  371. }
  372. }
  373. .fa {
  374. color: lighten($color1, 30%);
  375. }
  376. }
  377. .status__content__spoiler-link {
  378. background: lighten($color1, 30%);
  379. &:hover {
  380. background: lighten($color1, 33%);
  381. text-decoration: none;
  382. }
  383. }
  384. }
  385. a.status__content__spoiler-link {
  386. display: inline-block;
  387. border-radius: 2px;
  388. color: lighten($color1, 8%);
  389. font-weight: 500;
  390. font-size: 11px;
  391. padding: 0px 6px;
  392. text-transform: uppercase;
  393. line-height: inherit;
  394. }
  395. .status__prepend-icon-wrapper {
  396. left: -26px;
  397. position: absolute;
  398. }
  399. .status {
  400. padding: 8px 10px;
  401. padding-left: 68px;
  402. position: relative;
  403. min-height: 48px;
  404. border-bottom: 1px solid lighten($color1, 8%);
  405. cursor: default;
  406. &.light {
  407. .status__relative-time {
  408. color: $color3;
  409. }
  410. .status__display-name {
  411. color: $color1;
  412. }
  413. .display-name {
  414. strong {
  415. color: $color1;
  416. }
  417. span {
  418. color: $color3;
  419. }
  420. }
  421. .status__content {
  422. color: $color1;
  423. a {
  424. color: $color4;
  425. }
  426. a.status__content__spoiler-link {
  427. color: $color5;
  428. background: $color3;
  429. &:hover {
  430. background: lighten($color3, 8%);
  431. }
  432. }
  433. }
  434. }
  435. }
  436. .status__relative-time {
  437. color: lighten($color1, 26%);
  438. }
  439. .status__display-name {
  440. color: lighten($color1, 26%);
  441. }
  442. .status__info .status__display-name {
  443. display: block;
  444. max-width: 100%;
  445. padding-right: 25px;
  446. }
  447. .status__info {
  448. font-size: 15px;
  449. }
  450. .status__info-time {
  451. float: right;
  452. font-size: 14px;
  453. }
  454. .status-check-box {
  455. border-bottom: 1px solid lighten($color1, 8%);
  456. display: flex;
  457. .status__content {
  458. background: lighten($color1, 4%);
  459. flex: 1 1 auto;
  460. padding: 10px;
  461. }
  462. }
  463. .status-check-box-toggle {
  464. align-items: center;
  465. display: flex;
  466. flex: 0 0 auto;
  467. justify-content: center;
  468. padding: 10px;
  469. }
  470. .status__prepend {
  471. margin-left: 68px;
  472. color: lighten($color1, 26%);
  473. padding: 8px 0;
  474. padding-bottom: 2px;
  475. font-size: 14px;
  476. position: relative;
  477. .status__display-name strong {
  478. color: lighten($color1, 26%);
  479. }
  480. }
  481. .status__action-bar {
  482. align-items: center;
  483. display: flex;
  484. margin-top: 10px;
  485. }
  486. .status__action-bar-button-wrapper {
  487. float: left;
  488. margin-right: 18px;
  489. }
  490. .status__action-bar-dropdown {
  491. float: left;
  492. height: 18px;
  493. width: 18px;
  494. }
  495. .detailed-status {
  496. background: lighten($color1, 4%);
  497. padding: 14px 10px;
  498. .status__content {
  499. font-size: 19px;
  500. line-height: 24px;
  501. .emojione {
  502. width: 22px;
  503. height: 22px;
  504. }
  505. }
  506. }
  507. .detailed-status__meta {
  508. margin-top: 15px;
  509. color: lighten($color1, 26%);
  510. font-size: 14px;
  511. line-height: 18px;
  512. }
  513. .detailed-status__action-bar {
  514. background: lighten($color1, 4%);
  515. border-top: 1px solid lighten($color1, 8%);
  516. border-bottom: 1px solid lighten($color1, 8%);
  517. display: flex;
  518. flex-direction: row;
  519. padding: 10px 0;
  520. }
  521. .detailed-status__link {
  522. color: inherit;
  523. text-decoration: none;
  524. }
  525. .detailed-status__favorites,
  526. .detailed-status__reblogs {
  527. display: inline-block;
  528. font-weight: 500;
  529. font-size: 12px;
  530. margin-left: 6px;
  531. }
  532. .reply-indicator__content {
  533. color: $color1;
  534. font-size: 14px;
  535. a {
  536. color: lighten($color1, 20%);
  537. }
  538. }
  539. .account {
  540. padding: 10px;
  541. border-bottom: 1px solid lighten($color1, 8%);
  542. .account__display-name {
  543. flex: 1 1 auto;
  544. display: block;
  545. color: $color3;
  546. overflow: hidden;
  547. text-decoration: none;
  548. font-size: 14px;
  549. }
  550. }
  551. .account__wrapper {
  552. display: flex;
  553. }
  554. .account__avatar-wrapper {
  555. float: left;
  556. margin-left: 12px;
  557. margin-right: 12px;
  558. }
  559. .account__avatar {
  560. @include avatar-radius();
  561. position: relative;
  562. &-inline {
  563. display: inline-block;
  564. vertical-align: middle;
  565. margin-right: 5px;
  566. }
  567. }
  568. .account__avatar-overlay {
  569. @include avatar-size(48px);
  570. &-base {
  571. @include avatar-radius();
  572. @include avatar-size(36px);
  573. }
  574. &-overlay {
  575. @include avatar-radius();
  576. @include avatar-size(24px);
  577. position: absolute;
  578. bottom: 0;
  579. right: 0;
  580. z-index: 1;
  581. }
  582. }
  583. .account__relationship {
  584. height: 18px;
  585. padding: 10px;
  586. }
  587. .account__header {
  588. flex: 0 0 auto;
  589. background: lighten($color1, 4%);
  590. text-align: center;
  591. background-size: cover;
  592. background-position: center;
  593. position: relative;
  594. & > div {
  595. background: rgba(lighten($color1, 4%), 0.9);
  596. }
  597. .account__header__content {
  598. color: $color2;
  599. }
  600. .account__header__display-name {
  601. color: $color5;
  602. }
  603. .account__header__username {
  604. color: $color4;
  605. }
  606. }
  607. .account__header__content {
  608. color: $color3;
  609. font-size: 14px;
  610. font-weight: 400;
  611. overflow: hidden;
  612. word-break: normal;
  613. word-wrap: break-word;
  614. p {
  615. margin-bottom: 20px;
  616. &:last-child {
  617. margin-bottom: 0;
  618. }
  619. }
  620. a {
  621. color: inherit;
  622. text-decoration: underline;
  623. &:hover {
  624. text-decoration: none;
  625. }
  626. }
  627. }
  628. .account__header__display-name {
  629. .emojione {
  630. width: 25px;
  631. height: 25px;
  632. }
  633. }
  634. .account__action-bar {
  635. border-top: 1px solid lighten($color1, 8%);
  636. border-bottom: 1px solid lighten($color1, 8%);
  637. line-height: 36px;
  638. overflow: hidden;
  639. flex: 0 0 auto;
  640. display: flex;
  641. }
  642. .account__action-bar-dropdown {
  643. flex: 1 1 auto;
  644. padding: 10px;
  645. .dropdown--active {
  646. .dropdown__content.dropdown__right {
  647. left: 6px;
  648. right: initial;
  649. }
  650. &:after {
  651. bottom: initial;
  652. margin-left: 11px;
  653. margin-top: -7px;
  654. right: initial;
  655. }
  656. }
  657. }
  658. .account__action-bar-links {
  659. display: flex;
  660. flex: 1 1 auto;
  661. line-height: 18px;
  662. }
  663. .account__action-bar__tab {
  664. text-decoration: none;
  665. overflow: hidden;
  666. width: 80px;
  667. border-left: 1px solid lighten($color1, 8%);
  668. padding: 10px 5px;
  669. & > span {
  670. display: block;
  671. text-transform: uppercase;
  672. font-size: 11px;
  673. color: $color3;
  674. }
  675. strong {
  676. display: block;
  677. font-size: 15px;
  678. font-weight: 500;
  679. color: $color5;
  680. }
  681. abbr {
  682. color: lighten($color1, 26%);
  683. }
  684. }
  685. .account__header__avatar {
  686. background-size: 90px 90px;
  687. display: block;
  688. height: 90px;
  689. margin: 0 auto 10px;
  690. overflow: hidden;
  691. width: 90px;
  692. }
  693. .account-authorize {
  694. padding: 14px 10px;
  695. .detailed-status__display-name {
  696. display: block;
  697. margin-bottom: 15px;
  698. overflow: hidden;
  699. }
  700. }
  701. .account-authorize__avatar {
  702. float: left;
  703. margin-right: 10px;
  704. }
  705. .status__display-name,
  706. .status__relative-time,
  707. .detailed-status__display-name,
  708. .detailed-status__datetime,
  709. .detailed-status__application,
  710. .account__display-name {
  711. text-decoration: none;
  712. }
  713. .status__display-name,
  714. .account__display-name {
  715. strong {
  716. color: $color5;
  717. }
  718. &.muted {
  719. .emojione {
  720. opacity: 0.5;
  721. }
  722. }
  723. }
  724. .status__display-name,
  725. .reply-indicator__display-name,
  726. .detailed-status__display-name,
  727. .account__display-name {
  728. &:hover strong {
  729. text-decoration: underline;
  730. }
  731. }
  732. .account__display-name strong {
  733. display: block;
  734. }
  735. .detailed-status__application,
  736. .detailed-status__datetime {
  737. color: inherit;
  738. }
  739. .detailed-status__display-name {
  740. color: $color2;
  741. display: block;
  742. line-height: 24px;
  743. margin-bottom: 15px;
  744. overflow: hidden;
  745. strong,
  746. span {
  747. display: block;
  748. }
  749. strong {
  750. font-size: 16px;
  751. color: $color5;
  752. }
  753. }
  754. .detailed-status__display-avatar {
  755. float: left;
  756. margin-right: 10px;
  757. }
  758. .status__avatar {
  759. height: 48px;
  760. left: 10px;
  761. position: absolute;
  762. top: 10px;
  763. width: 48px;
  764. }
  765. .muted {
  766. .status__content p,
  767. .status__content a {
  768. color: lighten($color1, 26%);
  769. }
  770. .status__display-name strong {
  771. color: lighten($color1, 26%);
  772. }
  773. .status__avatar {
  774. opacity: 0.5;
  775. }
  776. a.status__content__spoiler-link {
  777. background: lighten($color1, 26%);
  778. color: lighten($color1, 4%);
  779. &:hover {
  780. background: lighten($color1, 29%);
  781. text-decoration: none;
  782. }
  783. }
  784. }
  785. .notification__message {
  786. margin-left: 68px;
  787. padding: 8px 0;
  788. padding-bottom: 0;
  789. cursor: default;
  790. color: $color3;
  791. font-size: 15px;
  792. position: relative;
  793. .fa {
  794. color: $color4;
  795. }
  796. }
  797. .notification__favourite-icon-wrapper {
  798. left: -26px;
  799. position: absolute;
  800. .star-icon {
  801. color: #ca8f04;
  802. }
  803. }
  804. .star-icon.active {
  805. color: #ca8f04;
  806. }
  807. .notification__display-name {
  808. color: inherit;
  809. font-weight: 500;
  810. text-decoration: none;
  811. &:hover {
  812. color: $color5;
  813. text-decoration: underline;
  814. }
  815. }
  816. .display-name {
  817. display: block;
  818. max-width: 100%;
  819. overflow: hidden;
  820. text-overflow: ellipsis;
  821. white-space: nowrap;
  822. }
  823. .display-name__html {
  824. font-weight: 500;
  825. }
  826. .display-name__account {
  827. font-size: 14px;
  828. }
  829. .status__relative-time,
  830. .detailed-status__datetime {
  831. &:hover {
  832. text-decoration: underline;
  833. }
  834. }
  835. .transparent-background, .imageloader {
  836. background: url('../images/void.png');
  837. }
  838. .imageloader {
  839. display: block;
  840. }
  841. .navigation-bar {
  842. padding: 10px;
  843. display: flex;
  844. flex-shrink: 0;
  845. cursor: default;
  846. color: $color3;
  847. strong {
  848. color: $color5;
  849. }
  850. .permalink {
  851. text-decoration: none;
  852. }
  853. }
  854. .navigation-bar__profile {
  855. flex: 1 1 auto;
  856. margin-left: 8px;
  857. }
  858. .navigation-bar__profile-account {
  859. display: block;
  860. font-weight: 500;
  861. }
  862. .navigation-bar__profile-edit {
  863. color: inherit;
  864. text-decoration: none;
  865. }
  866. .dropdown {
  867. display: inline-block;
  868. }
  869. .dropdown__content {
  870. display: none;
  871. position: absolute;
  872. }
  873. .dropdown__sep {
  874. border-bottom: 1px solid darken($color2, 8%);
  875. margin: 5px 7px 6px;
  876. padding-top: 1px;
  877. }
  878. .dropdown--active .dropdown__content {
  879. display: block;
  880. line-height: 18px;
  881. max-width: 311px;
  882. right: 0;
  883. text-align: left;
  884. z-index: 9999;
  885. & > ul {
  886. list-style: none;
  887. background: $color2;
  888. padding: 4px 0;
  889. border-radius: 4px;
  890. box-shadow: 0 0 15px rgba($color8, 0.4);
  891. min-width: 140px;
  892. position: relative;
  893. }
  894. &.dropdown__right {
  895. right: 0;
  896. }
  897. &.dropdown__left {
  898. & > ul {
  899. left: -98px;
  900. }
  901. }
  902. & > ul > li > a {
  903. font-size: 13px;
  904. line-height: 18px;
  905. display: block;
  906. padding: 4px 14px;
  907. box-sizing: border-box;
  908. text-decoration: none;
  909. background: $color2;
  910. color: $color1;
  911. overflow: hidden;
  912. text-overflow: ellipsis;
  913. white-space: nowrap;
  914. &:focus {
  915. outline: 0;
  916. }
  917. &:hover {
  918. background: $color4;
  919. color: $color2;
  920. }
  921. }
  922. }
  923. .dropdown__icon {
  924. vertical-align: middle;
  925. }
  926. .static-content {
  927. padding: 10px;
  928. padding-top: 20px;
  929. color: lighten($color1, 26%);
  930. h1 {
  931. font-size: 16px;
  932. font-weight: 500;
  933. margin-bottom: 40px;
  934. text-align: center;
  935. }
  936. p {
  937. font-size: 13px;
  938. margin-bottom: 20px;
  939. }
  940. }
  941. .columns-area {
  942. display: flex;
  943. flex: 1 1 auto;
  944. flex-direction: row;
  945. justify-content: flex-start;
  946. overflow-x: auto;
  947. position: relative;
  948. }
  949. @media screen and (min-width: 360px) {
  950. .columns-area {
  951. padding: 10px;
  952. }
  953. }
  954. .column {
  955. width: 330px;
  956. position: relative;
  957. box-sizing: border-box;
  958. display: flex;
  959. flex-direction: column;
  960. > .scrollable {
  961. background: $color1;
  962. }
  963. }
  964. .ui {
  965. flex: 0 0 auto;
  966. display: flex;
  967. flex-direction: column;
  968. width: 100%;
  969. height: 100%;
  970. background: darken($color1, 7%);
  971. }
  972. .drawer {
  973. width: 300px;
  974. box-sizing: border-box;
  975. display: flex;
  976. flex-direction: column;
  977. overflow-y: hidden;
  978. }
  979. .drawer__tab {
  980. display: block;
  981. flex: 1 1 auto;
  982. padding: 15px;
  983. padding-bottom: 13px;
  984. color: $color3;
  985. text-decoration: none;
  986. text-align: center;
  987. font-size: 16px;
  988. border-bottom: 2px solid transparent;
  989. }
  990. .column, .drawer {
  991. flex: 1 1 100%;
  992. overflow: hidden;
  993. }
  994. @media screen and (min-width: 360px) {
  995. .tabs-bar {
  996. margin: 10px;
  997. margin-bottom: 0;
  998. }
  999. .search {
  1000. margin-bottom: 10px;
  1001. }
  1002. }
  1003. @media screen and (max-width: 1024px) {
  1004. .column, .drawer {
  1005. width: 100%;
  1006. padding: 0;
  1007. }
  1008. .columns-area {
  1009. flex-direction: column;
  1010. }
  1011. .search__input, .autosuggest-textarea__textarea {
  1012. font-size: 16px;
  1013. }
  1014. }
  1015. @media screen and (min-width: 1025px) {
  1016. .columns-area {
  1017. padding: 0;
  1018. }
  1019. .column, .drawer {
  1020. flex: 0 0 auto;
  1021. padding: 10px;
  1022. padding-left: 5px;
  1023. padding-right: 5px;
  1024. &:first-child {
  1025. padding-left: 10px;
  1026. }
  1027. &:last-child {
  1028. padding-right: 10px;
  1029. }
  1030. }
  1031. .columns-area > div {
  1032. .column, .drawer {
  1033. padding-left: 5px;
  1034. padding-right: 5px;
  1035. }
  1036. }
  1037. }
  1038. @media screen and (min-width: 1397px) { /* Width of 4 columns with margins */
  1039. .columns-area {
  1040. margin-left: auto;
  1041. margin-right: auto;
  1042. }
  1043. }
  1044. @media screen and (min-width: 1900px) {
  1045. .column, .drawer {
  1046. width: 400px;
  1047. border-radius: 4px;
  1048. height: 96vh;
  1049. margin-top: 2vh;
  1050. }
  1051. }
  1052. .drawer__pager {
  1053. box-sizing: border-box;
  1054. padding: 0;
  1055. flex-grow: 1;
  1056. position: relative;
  1057. overflow: hidden;
  1058. display: flex;
  1059. }
  1060. .drawer__inner {
  1061. position: absolute;
  1062. top: 0;
  1063. left: 0;
  1064. background: lighten($color1, 13%);
  1065. box-sizing: border-box;
  1066. padding: 0;
  1067. display: flex;
  1068. flex-direction: column;
  1069. overflow: hidden;
  1070. overflow-y: auto;
  1071. width: 100%;
  1072. height: 100%;
  1073. &.darker {
  1074. background: $color1;
  1075. }
  1076. }
  1077. .pseudo-drawer {
  1078. background: lighten($color1, 13%);
  1079. font-size: 13px;
  1080. text-align: left;
  1081. }
  1082. .drawer__header {
  1083. flex: 0 0 auto;
  1084. font-size: 16px;
  1085. background: lighten($color1, 8%);
  1086. margin-bottom: 10px;
  1087. display: flex;
  1088. flex-direction: row;
  1089. a {
  1090. transition: background 100ms ease-in;
  1091. &:hover {
  1092. background: lighten($color1, 3%);
  1093. transition: background 200ms ease-out;
  1094. }
  1095. }
  1096. }
  1097. .tabs-bar {
  1098. display: flex;
  1099. background: lighten($color1, 8%);
  1100. flex: 0 0 auto;
  1101. overflow-y: auto;
  1102. }
  1103. .tabs-bar__link {
  1104. display: block;
  1105. flex: 1 1 auto;
  1106. padding: 15px 10px;
  1107. color: $color5;
  1108. text-decoration: none;
  1109. text-align: center;
  1110. font-size: 14px;
  1111. font-weight: 500;
  1112. border-bottom: 2px solid lighten($color1, 8%);
  1113. transition: all 200ms linear;
  1114. .fa {
  1115. font-weight: 400;
  1116. font-size: 16px;
  1117. }
  1118. &.active {
  1119. border-bottom: 2px solid $color4;
  1120. color: $color4;
  1121. }
  1122. &:hover, &:focus, &:active {
  1123. background: lighten($color1, 14%);
  1124. transition: all 100ms linear;
  1125. }
  1126. span {
  1127. margin-left: 5px;
  1128. display: none;
  1129. }
  1130. }
  1131. @media screen and (min-width: 600px) {
  1132. .tabs-bar__link {
  1133. span {
  1134. display: inline;
  1135. }
  1136. }
  1137. }
  1138. @media screen and (min-width: 1025px) {
  1139. .tabs-bar {
  1140. display: none;
  1141. }
  1142. }
  1143. .react-autosuggest__container {
  1144. position: relative;
  1145. }
  1146. .react-autosuggest__suggestions-container {
  1147. position: absolute;
  1148. top: 100%;
  1149. width: 100%;
  1150. z-index: 99;
  1151. box-shadow: 0 0 15px rgba($color8, 0.4);
  1152. }
  1153. .react-autosuggest__section-title {
  1154. background: $color3;
  1155. padding: 4px 10px;
  1156. font-weight: 500;
  1157. cursor: default;
  1158. color: $color1;
  1159. text-transform: uppercase;
  1160. font-size: 11px;
  1161. }
  1162. .react-autosuggest__suggestions-list {
  1163. background: $color2;
  1164. color: $color1;
  1165. font-size: 14px;
  1166. }
  1167. .react-autosuggest__suggestion {
  1168. padding: 10px;
  1169. cursor: pointer;
  1170. }
  1171. .react-autosuggest__suggestion--focused {
  1172. background: $color4;
  1173. color: $color5;
  1174. }
  1175. .scrollable {
  1176. overflow-y: scroll;
  1177. overflow-x: hidden;
  1178. flex: 1 1 auto;
  1179. backface-visibility: hidden;
  1180. -webkit-overflow-scrolling: touch;
  1181. &.optionally-scrollable {
  1182. overflow-y: auto;
  1183. }
  1184. }
  1185. .column-back-button {
  1186. background: lighten($color1, 4%);
  1187. color: $color4;
  1188. cursor: pointer;
  1189. flex: 0 0 auto;
  1190. font-size: 16px;
  1191. padding: 15px;
  1192. z-index: 3;
  1193. &:hover {
  1194. text-decoration: underline;
  1195. }
  1196. }
  1197. .column-back-button__icon {
  1198. display: inline-block;
  1199. margin-right: 5px;
  1200. }
  1201. .column-back-button--slim {
  1202. position: relative;
  1203. }
  1204. .column-back-button--slim-button {
  1205. cursor: pointer;
  1206. flex: 0 0 auto;
  1207. font-size: 16px;
  1208. padding: 15px;
  1209. position: absolute;
  1210. right: 0;
  1211. top: -48px;
  1212. }
  1213. .react-toggle {
  1214. display: inline-block;
  1215. position: relative;
  1216. cursor: pointer;
  1217. background-color: transparent;
  1218. border: 0;
  1219. padding: 0;
  1220. user-select: none;
  1221. -webkit-tap-highlight-color: rgba($color8, 0);
  1222. -webkit-tap-highlight-color: transparent;
  1223. }
  1224. .react-toggle-screenreader-only {
  1225. border: 0;
  1226. clip: rect(0 0 0 0);
  1227. height: 1px;
  1228. margin: -1px;
  1229. overflow: hidden;
  1230. padding: 0;
  1231. position: absolute;
  1232. width: 1px;
  1233. }
  1234. .react-toggle--disabled {
  1235. cursor: not-allowed;
  1236. opacity: 0.5;
  1237. transition: opacity 0.25s;
  1238. }
  1239. .react-toggle-track {
  1240. width: 50px;
  1241. height: 24px;
  1242. padding: 0;
  1243. border-radius: 30px;
  1244. background-color: $color1;
  1245. transition: all 0.2s ease;
  1246. }
  1247. .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
  1248. background-color: darken($color1, 10%);
  1249. }
  1250. .react-toggle--checked .react-toggle-track {
  1251. background-color: $color4;
  1252. }
  1253. .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
  1254. background-color: lighten($color4, 10%);
  1255. }
  1256. .react-toggle-track-check {
  1257. position: absolute;
  1258. width: 14px;
  1259. height: 10px;
  1260. top: 0px;
  1261. bottom: 0px;
  1262. margin-top: auto;
  1263. margin-bottom: auto;
  1264. line-height: 0;
  1265. left: 8px;
  1266. opacity: 0;
  1267. transition: opacity 0.25s ease;
  1268. }
  1269. .react-toggle--checked .react-toggle-track-check {
  1270. opacity: 1;
  1271. transition: opacity 0.25s ease;
  1272. }
  1273. .react-toggle-track-x {
  1274. position: absolute;
  1275. width: 10px;
  1276. height: 10px;
  1277. top: 0px;
  1278. bottom: 0px;
  1279. margin-top: auto;
  1280. margin-bottom: auto;
  1281. line-height: 0;
  1282. right: 10px;
  1283. opacity: 1;
  1284. transition: opacity 0.25s ease;
  1285. }
  1286. .react-toggle--checked .react-toggle-track-x {
  1287. opacity: 0;
  1288. }
  1289. .react-toggle-thumb {
  1290. transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  1291. position: absolute;
  1292. top: 1px;
  1293. left: 1px;
  1294. width: 22px;
  1295. height: 22px;
  1296. border: 1px solid $color1;
  1297. border-radius: 50%;
  1298. background-color: darken($color5, 2%);
  1299. box-sizing: border-box;
  1300. transition: all 0.25s ease;
  1301. }
  1302. .react-toggle--checked .react-toggle-thumb {
  1303. left: 27px;
  1304. border-color: $color4;
  1305. }
  1306. .column-link {
  1307. background: lighten($color1, 8%);
  1308. color: $color5;
  1309. display: block;
  1310. font-size: 16px;
  1311. padding: 15px;
  1312. text-decoration: none;
  1313. &:hover {
  1314. background: lighten($color1, 11%);
  1315. }
  1316. &.hidden-on-mobile {
  1317. @media screen and (max-width: 1024px) {
  1318. display: none;
  1319. }
  1320. }
  1321. }
  1322. .column-link__icon {
  1323. display: inline-block;
  1324. margin-right: 5px;
  1325. }
  1326. .column-subheading {
  1327. background: $color1;
  1328. color: lighten($color1, 26%);
  1329. padding: 8px 20px;
  1330. font-size: 12px;
  1331. font-weight: 500;
  1332. text-transform: uppercase;
  1333. cursor: default;
  1334. }
  1335. .autosuggest-textarea,
  1336. .spoiler-input {
  1337. position: relative;
  1338. }
  1339. .autosuggest-textarea__textarea,
  1340. .spoiler-input__input {
  1341. display: block;
  1342. box-sizing: border-box;
  1343. width: 100%;
  1344. margin: 0;
  1345. color: $color1;
  1346. padding: 10px;
  1347. font-family: inherit;
  1348. font-size: 14px;
  1349. resize: vertical;
  1350. border: 0;
  1351. outline: 0;
  1352. &:focus {
  1353. outline: 0;
  1354. }
  1355. @media screen and (max-width: 600px) {
  1356. font-size: 16px;
  1357. }
  1358. }
  1359. .spoiler-input__input {
  1360. border-radius: 4px;
  1361. }
  1362. .autosuggest-textarea__textarea {
  1363. min-height: 100px;
  1364. background: $color5;
  1365. border-radius: 4px 4px 0 0;
  1366. padding-bottom: 0;
  1367. padding-right: 10px + 22px;
  1368. resize: none;
  1369. @media screen and (max-width: 600px) {
  1370. height: 100px !important; // prevent auto-resize textarea
  1371. resize: vertical;
  1372. }
  1373. }
  1374. .autosuggest-textarea__suggestions {
  1375. position: absolute;
  1376. top: 100%;
  1377. width: 100%;
  1378. z-index: 99;
  1379. box-shadow: 0 0 15px rgba($color8, 0.4);
  1380. background: $color2;
  1381. color: $color1;
  1382. font-size: 14px;
  1383. }
  1384. .autosuggest-textarea__suggestions__item {
  1385. padding: 10px;
  1386. cursor: pointer;
  1387. &:hover {
  1388. background: darken($color2, 10%);
  1389. }
  1390. &.selected {
  1391. background: $color4;
  1392. color: $color5;
  1393. }
  1394. }
  1395. .autosuggest-account {
  1396. overflow: hidden;
  1397. }
  1398. .autosuggest-account-icon {
  1399. float: left;
  1400. margin-right: 5px;
  1401. }
  1402. .autosuggest-status {
  1403. overflow: hidden;
  1404. white-space: nowrap;
  1405. text-overflow: ellipsis;
  1406. strong {
  1407. font-weight: 500;
  1408. }
  1409. }
  1410. .character-counter__wrapper {
  1411. line-height: 36px;
  1412. margin-right: 16px;
  1413. padding-top: 10px;
  1414. }
  1415. .character-counter {
  1416. cursor: default;
  1417. font-size: 16px;
  1418. }
  1419. .character-counter--over {
  1420. color: #ff5050;
  1421. }
  1422. .getting-started__wrapper {
  1423. position: relative;
  1424. }
  1425. .getting-started {
  1426. box-sizing: border-box;
  1427. padding-bottom: 235px;
  1428. background: url('../images/mastodon-getting-started.png') no-repeat 0 100%/contain local;
  1429. flex: 1 0 auto;
  1430. p {
  1431. color: $color2;
  1432. }
  1433. a {
  1434. color: lighten($color1, 26%);
  1435. }
  1436. }
  1437. .setting-text {
  1438. color: $color3;
  1439. background: transparent;
  1440. border: none;
  1441. border-bottom: 2px solid $color3;
  1442. box-sizing: border-box;
  1443. display: block;
  1444. font-family: inherit;
  1445. margin-bottom: 10px;
  1446. padding: 7px 0px;
  1447. width: 100%;
  1448. &:focus, &:active {
  1449. color: $color5;
  1450. border-bottom-color: $color4;
  1451. }
  1452. @media screen and (max-width: 600px) {
  1453. font-size: 16px;
  1454. }
  1455. }
  1456. @import 'boost';
  1457. button.icon-button i.fa-retweet {
  1458. background-position: 0 0;
  1459. height: 19px;
  1460. transition: background-position 0.9s steps(10);
  1461. transition-duration: 0s;
  1462. vertical-align: middle;
  1463. width: 22px;
  1464. &::before {
  1465. display: none !important;
  1466. }
  1467. }
  1468. button.icon-button.active i.fa-retweet {
  1469. transition-duration: 0.9s;
  1470. background-position: 0 100%;
  1471. }
  1472. .status-card {
  1473. display: flex;
  1474. cursor: pointer;
  1475. font-size: 14px;
  1476. border: 1px solid lighten($color1, 8%);
  1477. border-radius: 4px;
  1478. color: lighten($color1, 26%);
  1479. margin-top: 14px;
  1480. text-decoration: none;
  1481. overflow: hidden;
  1482. &:hover {
  1483. background: lighten($color1, 8%);
  1484. }
  1485. }
  1486. .status-card-video, .status-card-rich, .status-card-photo {
  1487. margin-top: 14px;
  1488. overflow: hidden;
  1489. iframe {
  1490. width: 100%;
  1491. height: auto;
  1492. }
  1493. }
  1494. .status-card-photo {
  1495. display: block;
  1496. text-decoration: none;
  1497. img {
  1498. display: block;
  1499. width: 100%;
  1500. height: auto;
  1501. margin: 0;
  1502. }
  1503. }
  1504. .status-card__title {
  1505. display: block;
  1506. font-weight: 500;
  1507. margin-bottom: 5px;
  1508. color: $color3;
  1509. overflow: hidden;
  1510. text-overflow: ellipsis;
  1511. white-space: nowrap;
  1512. }
  1513. .status-card__content {
  1514. flex: 1 1 auto;
  1515. overflow: hidden;
  1516. padding: 14px 14px 14px 8px;
  1517. }
  1518. .status-card__description {
  1519. color: $color3;
  1520. }
  1521. .status-card__image {
  1522. flex: 0 0 100px;
  1523. background: lighten($color1, 8%);
  1524. }
  1525. .status-card__image-image {
  1526. border-radius: 4px 0px 0px 4px;
  1527. display: block;
  1528. height: auto;
  1529. margin: 0;
  1530. width: 100%;
  1531. }
  1532. .load-more {
  1533. display: block;
  1534. color: lighten($color1, 26%);
  1535. text-align: center;
  1536. padding: 15px;
  1537. text-decoration: none;
  1538. &:hover {
  1539. background: lighten($color1, 2%);
  1540. }
  1541. }
  1542. .missing-indicator {
  1543. text-align: center;
  1544. font-size: 16px;
  1545. font-weight: 500;
  1546. color: lighten($color1, 16%);
  1547. background: $color1;
  1548. cursor: default;
  1549. display: flex;
  1550. flex: 1 1 auto;
  1551. align-items: center;
  1552. justify-content: center;
  1553. & > div {
  1554. background: url('../images/mastodon-not-found.png') no-repeat center -50px;
  1555. padding-top: 210px;
  1556. width: 100%;
  1557. }
  1558. }
  1559. .column-header {
  1560. padding: 15px;
  1561. font-size: 16px;
  1562. background: lighten($color1, 4%);
  1563. flex: 0 0 auto;
  1564. cursor: pointer;
  1565. position: relative;
  1566. z-index: 2;
  1567. outline: 0;
  1568. &.active {
  1569. box-shadow: 0 1px 0 rgba($color4, 0.3);
  1570. }
  1571. &.active .fa {
  1572. color: $color4;
  1573. text-shadow: 0 0 10px rgba($color4, 0.4);
  1574. }
  1575. &.hidden-on-mobile {
  1576. @media screen and (max-width: 1024px) {
  1577. display: none;
  1578. }
  1579. }
  1580. &:focus, &:active {
  1581. outline: 0;
  1582. }
  1583. }
  1584. .column-header__icon {
  1585. display: inline-block;
  1586. margin-right: 5px;
  1587. }
  1588. .loading-indicator {
  1589. color: $color2;
  1590. font-size: 16px;
  1591. font-weight: 500;
  1592. padding-top: 120px;
  1593. text-align: center;
  1594. }
  1595. .collapsable-collapsed {
  1596. color: $color3;
  1597. background: lighten($color1, 4%);
  1598. }
  1599. .collapsable {
  1600. color: $color5;
  1601. background: lighten($color1, 8%);
  1602. &:hover {
  1603. color: $color5;
  1604. background: lighten($color1, 8%);
  1605. }
  1606. }
  1607. .video-error-cover {
  1608. align-items: center;
  1609. background: $color8;
  1610. color: $color5;
  1611. cursor: pointer;
  1612. display: flex;
  1613. flex-direction: column;
  1614. height: 100%;
  1615. justify-content: center;
  1616. margin-top: 8px;
  1617. position: relative;
  1618. text-align: center;
  1619. z-index: 100;
  1620. }
  1621. .media-spoiler {
  1622. align-items: center;
  1623. background: $color8;
  1624. color: $color5;
  1625. cursor: pointer;
  1626. display: flex;
  1627. flex-direction: column;
  1628. height: 100%;
  1629. justify-content: center;
  1630. position: relative;
  1631. text-align: center;
  1632. z-index: 100;
  1633. }
  1634. .media-spoiler__warning {
  1635. display: block;
  1636. font-size: 14px;
  1637. }
  1638. .media-spoiler__trigger {
  1639. display: block;
  1640. font-size: 11px;
  1641. font-weight: 500;
  1642. }
  1643. .spoiler-button {
  1644. left: 4px;
  1645. position: absolute;
  1646. text-shadow: 0px 1px 1px #000, 1px 0px 1px #000;
  1647. top: 4px;
  1648. z-index: 100;
  1649. }
  1650. .modal-container--preloader {
  1651. background: lighten($color1, 8%);
  1652. }
  1653. .account--panel {
  1654. background: lighten($color1, 4%);
  1655. border-top: 1px solid lighten($color1, 8%);
  1656. border-bottom: 1px solid lighten($color1, 8%);
  1657. display: flex;
  1658. flex-direction: row;
  1659. padding: 10px 0px;
  1660. }
  1661. .account--panel__button,
  1662. .detailed-status__button {
  1663. flex: 1 1 auto;
  1664. text-align: center;
  1665. }
  1666. .column-settings__outer {
  1667. background: lighten($color1, 8%);
  1668. padding: 15px;
  1669. }
  1670. .column-settings__section {
  1671. color: $color3;
  1672. cursor: default;
  1673. display: block;
  1674. font-weight: 500;
  1675. margin-bottom: 10px;
  1676. }
  1677. .modal-container__nav {
  1678. align-items: center;
  1679. background: rgba(0, 0, 0, 0.5);
  1680. box-sizing: border-box;
  1681. color: $color5;
  1682. cursor: pointer;
  1683. display: flex;
  1684. font-size: 24px;
  1685. height: 100%;
  1686. padding: 30px 15px;
  1687. position: absolute;
  1688. top: 0;
  1689. }
  1690. .modal-container__nav--left {
  1691. left: -61px;
  1692. }
  1693. .modal-container__nav--right {
  1694. right: -61px;
  1695. }
  1696. .account--follows-info {
  1697. color: $color5;
  1698. }
  1699. .setting-toggle__label {
  1700. display: block;
  1701. line-height: 24px;
  1702. vertical-align: middle;
  1703. }
  1704. .setting-toggle {
  1705. color: $color3;
  1706. display: inline-block;
  1707. margin-bottom: 14px;
  1708. margin-left: 8px;
  1709. vertical-align: middle;
  1710. }
  1711. .report.scrollable {
  1712. box-sizing: border-box;
  1713. display: flex;
  1714. flex-direction: column;
  1715. max-height: 100%;
  1716. }
  1717. .report__target {
  1718. border-bottom: 1px solid lighten($color1, 4%);
  1719. color: $color2;
  1720. flex: 0 0 auto;
  1721. padding: 10px;
  1722. strong {
  1723. display: block;
  1724. color: $color5;
  1725. font-weight: 500;
  1726. }
  1727. }
  1728. .report__statuses {
  1729. flex: 1 1 auto;
  1730. }
  1731. .report__textarea-wrapper {
  1732. flex: 0 0 100px;
  1733. padding: 10px;
  1734. }
  1735. .report__textarea {
  1736. background: transparent;
  1737. box-sizing: border-box;
  1738. border: 0;
  1739. border-bottom: 2px solid $color3;
  1740. border-radius: 2px 2px 0 0;
  1741. color: $color5;
  1742. display: block;
  1743. font-family: inherit;
  1744. font-size: 14px;
  1745. margin-bottom: 10px;
  1746. outline: 0;
  1747. padding: 7px 4px;
  1748. resize: vertical;
  1749. width: 100%;
  1750. &:active, &:focus {
  1751. border-bottom-color: $color4;
  1752. background: rgba($color8, 0.1);
  1753. }
  1754. }
  1755. .report__submit {
  1756. margin-top: 10px;
  1757. overflow: hidden;
  1758. }
  1759. .report__submit-button {
  1760. float: right;
  1761. }
  1762. .empty-column-indicator {
  1763. color: lighten($color1, 20%);
  1764. background: $color1;
  1765. text-align: center;
  1766. padding: 20px;
  1767. font-size: 15px;
  1768. font-weight: 400;
  1769. cursor: default;
  1770. display: flex;
  1771. flex: 1 1 auto;
  1772. align-items: center;
  1773. a {
  1774. color: $color4;
  1775. text-decoration: none;
  1776. &:hover {
  1777. text-decoration: underline;
  1778. }
  1779. }
  1780. }
  1781. .status-list__unread-indicator, .notifications__unread-indicator {
  1782. position: absolute;
  1783. top: 35px;
  1784. left: 0;
  1785. right: 0;
  1786. margin: 0 auto;
  1787. width: 60%;
  1788. pointer-events: none;
  1789. height: 28px;
  1790. z-index: 1;
  1791. background: radial-gradient(ellipse, rgba($color4, 0.23) 0%, rgba($color4, 0) 60%);
  1792. }
  1793. .emoji-dialog {
  1794. width: 245px;
  1795. height: 270px;
  1796. background: $color5;
  1797. box-sizing: border-box;
  1798. border-radius: 4px;
  1799. overflow: hidden;
  1800. position: relative;
  1801. box-shadow: 0 0 8px rgba($color8, 0.2);
  1802. .emojione {
  1803. margin: 0;
  1804. width: 100%;
  1805. height: auto;
  1806. }
  1807. .emoji-dialog-header {
  1808. padding: 0 10px;
  1809. ul {
  1810. padding: 0;
  1811. margin: 0;
  1812. list-style: none;
  1813. }
  1814. li {
  1815. display: inline-block;
  1816. box-sizing: border-box;
  1817. padding: 10px 5px;
  1818. cursor: pointer;
  1819. border-bottom: 2px solid transparent;
  1820. .emoji {
  1821. width: 18px;
  1822. height: 18px;
  1823. }
  1824. img, svg {
  1825. width: 18px;
  1826. height: 18px;
  1827. filter: grayscale(100%);
  1828. }
  1829. &:hover {
  1830. img, svg {
  1831. filter: grayscale(0);
  1832. }
  1833. }
  1834. &.active {
  1835. border-bottom-color: $color4;
  1836. img, svg {
  1837. filter: grayscale(0);
  1838. }
  1839. }
  1840. }
  1841. }
  1842. .emoji-row {
  1843. box-sizing: border-box;
  1844. overflow-y: hidden;
  1845. padding-left: 10px;
  1846. .emoji {
  1847. display: inline-block;
  1848. padding: 2.5px;
  1849. border-radius: 4px;
  1850. }
  1851. }
  1852. .emoji-category-header {
  1853. box-sizing: border-box;
  1854. overflow-y: hidden;
  1855. padding: 10px 8px 10px 16px;
  1856. display: table;
  1857. > * {
  1858. display: table-cell;
  1859. vertical-align: middle;
  1860. }
  1861. }
  1862. .emoji-category-title {
  1863. font-size: 12px;
  1864. text-transform: uppercase;
  1865. font-weight: 500;
  1866. color: darken($color2, 18%);
  1867. cursor: default;
  1868. }
  1869. .emoji-category-heading-decoration {
  1870. text-align: right;
  1871. }
  1872. .modifiers {
  1873. list-style: none;
  1874. padding: 0;
  1875. margin: 0;
  1876. vertical-align: middle;
  1877. white-space: nowrap;
  1878. margin-top: 4px;
  1879. li {
  1880. display: inline-block;
  1881. padding: 0 2px;
  1882. &:last-of-type {
  1883. padding-right: 0;
  1884. }
  1885. }
  1886. .modifier {
  1887. display: inline-block;
  1888. border-radius: 10px;
  1889. width: 15px;
  1890. height: 15px;
  1891. position: relative;
  1892. cursor: pointer;
  1893. &.active:after {
  1894. content: "";
  1895. display: block;
  1896. position: absolute;
  1897. width: 7px;
  1898. height: 7px;
  1899. border-radius: 10px;
  1900. border: 2px solid $color5;
  1901. top: 2px;
  1902. left: 2px;
  1903. }
  1904. }
  1905. }
  1906. .emoji-search-wrapper {
  1907. padding: 10px;
  1908. border-bottom: 1px solid lighten($color2, 4%);
  1909. }
  1910. .emoji-search {
  1911. font-size: 14px;
  1912. font-weight: 400;
  1913. padding: 7px 9px;
  1914. font-family: inherit;
  1915. display: block;
  1916. width: 100%;
  1917. background: rgba($color2, 0.3);
  1918. color: darken($color2, 18%);
  1919. border: 1px solid $color2;
  1920. border-radius: 4px;
  1921. }
  1922. .emoji-categories-wrapper {
  1923. position: absolute;
  1924. top: 42px;
  1925. bottom: 0;
  1926. left: 0;
  1927. right: 0;
  1928. }
  1929. .emoji-search-wrapper + .emoji-categories-wrapper {
  1930. top: 93px;
  1931. }
  1932. .emoji-row .emoji {
  1933. img, svg {
  1934. transition: transform 60ms ease-in-out;
  1935. }
  1936. &:hover {
  1937. background: lighten($color2, 3%);
  1938. img, svg {
  1939. transform: translateZ(0) scale(1.2);
  1940. }
  1941. }
  1942. }
  1943. .emoji {
  1944. width: 22px;
  1945. height: 22px;
  1946. cursor: pointer;
  1947. &:focus {
  1948. outline: 0;
  1949. }
  1950. }
  1951. }
  1952. .upload-area {
  1953. align-items: center;
  1954. background: rgba($color8, 0.8);
  1955. display: flex;
  1956. height: 100%;
  1957. justify-content: center;
  1958. left: 0;
  1959. opacity: 0;
  1960. position: absolute;
  1961. top: 0;
  1962. visibility: hidden;
  1963. width: 100%;
  1964. z-index: 2000;
  1965. * {
  1966. pointer-events: none;
  1967. }
  1968. }
  1969. .upload-area__drop {
  1970. width: 320px;
  1971. height: 160px;
  1972. display: flex;
  1973. box-sizing: border-box;
  1974. position: relative;
  1975. padding: 8px;
  1976. }
  1977. .upload-area__background {
  1978. position: absolute;
  1979. top: 0;
  1980. right: 0;
  1981. bottom: 0;
  1982. left: 0;
  1983. z-index: -1;
  1984. border-radius: 4px;
  1985. background: $color1;
  1986. box-shadow: 0 0 5px rgba($color8, 0.2);
  1987. }
  1988. .upload-area__content {
  1989. flex: 1;
  1990. display: flex;
  1991. align-items: center;
  1992. justify-content: center;
  1993. color: $color2;
  1994. font-size: 18px;
  1995. font-weight: 500;
  1996. border: 2px dashed lighten($color1, 26%);
  1997. border-radius: 4px;
  1998. }
  1999. .upload-progress {
  2000. padding: 10px;
  2001. color: lighten($color1, 26%);
  2002. overflow: hidden;
  2003. display: flex;
  2004. .fa {
  2005. font-size: 34px;
  2006. margin-right: 10px;
  2007. }
  2008. span {
  2009. font-size: 12px;
  2010. text-transform: uppercase;
  2011. font-weight: 500;
  2012. display: block;
  2013. }
  2014. }
  2015. .upload-progess__message {
  2016. flex: 1 1 auto;
  2017. }
  2018. .upload-progress__backdrop {
  2019. width: 100%;
  2020. height: 6px;
  2021. border-radius: 6px;
  2022. background: lighten($color1, 26%);
  2023. position: relative;
  2024. margin-top: 5px;
  2025. }
  2026. .upload-progress__tracker {
  2027. position: absolute;
  2028. left: 0;
  2029. top: 0;
  2030. height: 6px;
  2031. background: $color4;
  2032. border-radius: 6px;
  2033. }
  2034. .emoji-button {
  2035. outline: 0;
  2036. &:active, &:focus {
  2037. outline: 0 !important;
  2038. }
  2039. img {
  2040. filter: grayscale(100%);
  2041. opacity: 0.8;
  2042. display: block;
  2043. margin: 0;
  2044. width: 22px;
  2045. height: 22px;
  2046. margin-top: 2px;
  2047. }
  2048. &:hover, &:active, &:focus {
  2049. img {
  2050. opacity: 1;
  2051. filter: none;
  2052. }
  2053. }
  2054. }
  2055. .dropdown--active .emoji-button img {
  2056. opacity: 1;
  2057. filter: none;
  2058. }
  2059. .privacy-dropdown {
  2060. position: relative;
  2061. }
  2062. .privacy-dropdown__dropdown {
  2063. display: none;
  2064. position: absolute;
  2065. left: 0;
  2066. top: 27px;
  2067. width: 230px;
  2068. background: $color5;
  2069. border-radius: 0 4px 4px 4px;
  2070. z-index: 2;
  2071. overflow: hidden;
  2072. }
  2073. .privacy-dropdown__option {
  2074. color: $color1;
  2075. padding: 10px;
  2076. cursor: pointer;
  2077. display: flex;
  2078. &:hover, &.active {
  2079. background: $color4;
  2080. color: $color5;
  2081. .privacy-dropdown__option__content {
  2082. color: $color5;
  2083. strong {
  2084. color: $color5;
  2085. }
  2086. }
  2087. }
  2088. &.active:hover {
  2089. background: lighten($color4, 4%);
  2090. }
  2091. }
  2092. .privacy-dropdown__option__icon {
  2093. display: flex;
  2094. align-items: center;
  2095. justify-content: center;
  2096. margin-right: 10px;
  2097. }
  2098. .privacy-dropdown__option__content {
  2099. flex: 1 1 auto;
  2100. color: darken($color3, 24%);
  2101. strong {
  2102. font-weight: 500;
  2103. display: block;
  2104. color: $color1;
  2105. }
  2106. }
  2107. .privacy-dropdown.active {
  2108. .privacy-dropdown__value {
  2109. background: $color5;
  2110. border-radius: 4px 4px 0 0;
  2111. box-shadow: 0 -4px 4px rgba($color8, 0.1);
  2112. }
  2113. .privacy-dropdown__dropdown {
  2114. display: block;
  2115. box-shadow: 2px 4px 6px rgba($color8, 0.1);
  2116. }
  2117. }
  2118. .search {
  2119. position: relative;
  2120. }
  2121. .search__input {
  2122. padding-right: 30px;
  2123. color: $color2;
  2124. outline: 0;
  2125. box-sizing: border-box;
  2126. display: block;
  2127. width: 100%;
  2128. border: none;
  2129. padding: 10px;
  2130. padding-right: 30px;
  2131. font-family: inherit;
  2132. background: $color1;
  2133. color: $color3;
  2134. font-size: 14px;
  2135. margin: 0;
  2136. &::-moz-focus-inner {
  2137. border: 0;
  2138. }
  2139. &::-moz-focus-inner, &:focus, &:active {
  2140. outline: 0 !important;
  2141. }
  2142. &:focus {
  2143. background: lighten($color1, 4%);
  2144. }
  2145. @media screen and (max-width: 600px) {
  2146. font-size: 16px;
  2147. }
  2148. }
  2149. .search__icon {
  2150. .fa {
  2151. position: absolute;
  2152. top: 10px;
  2153. right: 10px;
  2154. z-index: 2;
  2155. display: inline-block;
  2156. opacity: 0;
  2157. transition: all 100ms linear;
  2158. font-size: 18px;
  2159. width: 18px;
  2160. height: 18px;
  2161. color: $color2;
  2162. cursor: default;
  2163. pointer-events: none;
  2164. &.active {
  2165. pointer-events: auto;
  2166. opacity: 0.3;
  2167. }
  2168. }
  2169. .fa-search {
  2170. transform: translateZ(0) rotate(90deg);
  2171. &.active {
  2172. pointer-events: none;
  2173. transform: translateZ(0) rotate(0deg);
  2174. }
  2175. }
  2176. .fa-times-circle {
  2177. top: 11px;
  2178. transform: translateZ(0) rotate(0deg);
  2179. cursor: pointer;
  2180. &.active {
  2181. transform: translateZ(0) rotate(90deg);
  2182. }
  2183. &:hover {
  2184. color: $color5;
  2185. }
  2186. }
  2187. }
  2188. .search-results__header {
  2189. color: lighten($color1, 26%);
  2190. background: lighten($color1, 2%);
  2191. border-bottom: 1px solid darken($color1, 4%);
  2192. padding: 15px 10px;
  2193. font-size: 14px;
  2194. font-weight: 500;
  2195. }
  2196. .search-results__hashtag {
  2197. display: block;
  2198. padding: 10px;
  2199. color: $color2;
  2200. text-decoration: none;
  2201. &:hover, &:active, &:focus {
  2202. color: lighten($color2, 4%);
  2203. text-decoration: underline;
  2204. }
  2205. }
  2206. .modal-root__overlay {
  2207. position: absolute;
  2208. top: 0;
  2209. left: 0;
  2210. right: 0;
  2211. bottom: 0;
  2212. z-index: 9999;
  2213. opacity: 0;
  2214. background: rgba($color8, 0.7);
  2215. transform: translateZ(0px);
  2216. }
  2217. .modal-root__container {
  2218. position: absolute;
  2219. top: 0;
  2220. left: 0;
  2221. width: 100%;
  2222. height: 100%;
  2223. display: flex;
  2224. flex-direction: column;
  2225. align-items: center;
  2226. justify-content: center;
  2227. align-content: space-around;
  2228. z-index: 9999;
  2229. opacity: 0;
  2230. pointer-events: none;
  2231. user-select: none;
  2232. }
  2233. .modal-root__modal {
  2234. pointer-events: auto;
  2235. display: flex;
  2236. z-index: 9999;
  2237. }
  2238. .media-modal {
  2239. max-width: 80vw;
  2240. max-height: 80vh;
  2241. position: relative;
  2242. img, video {
  2243. max-width: 80vw;
  2244. max-height: 80vh;
  2245. }
  2246. }
  2247. .media-modal__close {
  2248. position: absolute;
  2249. right: 4px;
  2250. top: 4px;
  2251. z-index: 100;
  2252. }
  2253. .onboarding-modal {
  2254. background: $color2;
  2255. color: $color1;
  2256. border-radius: 8px;
  2257. overflow: hidden;
  2258. display: flex;
  2259. flex-direction: column;
  2260. }
  2261. .onboarding-modal__pager {
  2262. height: 80vh;
  2263. width: 80vw;
  2264. max-width: 520px;
  2265. max-height: 420px;
  2266. position: relative;
  2267. & > div {
  2268. position: absolute;
  2269. top: 0;
  2270. left: 0;
  2271. width: 100%;
  2272. height: 100%;
  2273. box-sizing: border-box;
  2274. padding: 25px;
  2275. display: none;
  2276. flex-direction: column;
  2277. align-items: center;
  2278. justify-content: center;
  2279. display: flex;
  2280. opacity: 0;
  2281. user-select: text;
  2282. }
  2283. }
  2284. @media screen and (max-width: 550px) {
  2285. .onboarding-modal {
  2286. width: 100%;
  2287. height: 100%;
  2288. border-radius: 0;
  2289. }
  2290. .onboarding-modal__pager {
  2291. width: 100%;
  2292. height: auto;
  2293. max-width: none;
  2294. max-height: none;
  2295. flex: 1 1 auto;
  2296. }
  2297. }
  2298. .onboarding-modal__paginator {
  2299. flex: 0 0 auto;
  2300. background: darken($color2, 8%);
  2301. display: flex;
  2302. padding: 25px;
  2303. & > div {
  2304. min-width: 33px;
  2305. }
  2306. a {
  2307. color: darken($color2, 34%);
  2308. text-decoration: none;
  2309. font-size: 14px;
  2310. font-weight: 500;
  2311. &:hover, &:focus, &:active {
  2312. color: darken($color2, 38%);
  2313. }
  2314. &.onboarding-modal__done, &.onboarding-modal__next {
  2315. color: $color4;
  2316. }
  2317. }
  2318. }
  2319. .onboarding-modal__dots {
  2320. flex: 1 1 auto;
  2321. display: flex;
  2322. align-items: center;
  2323. justify-content: center;
  2324. }
  2325. .onboarding-modal__dot {
  2326. width: 14px;
  2327. height: 14px;
  2328. border-radius: 14px;
  2329. background: darken($color2, 16%);
  2330. margin: 0 3px;
  2331. cursor: pointer;
  2332. &:hover {
  2333. background: darken($color2, 18%);
  2334. }
  2335. &.active {
  2336. cursor: default;
  2337. background: darken($color2, 24%);
  2338. }
  2339. }
  2340. .onboarding-modal__page {
  2341. cursor: default;
  2342. line-height: 21px;
  2343. h1 {
  2344. font-size: 18px;
  2345. font-weight: 500;
  2346. color: $color1;
  2347. margin-bottom: 20px;
  2348. }
  2349. a {
  2350. color: $color4;
  2351. &:hover, &:focus, &:active {
  2352. color: lighten($color4, 4%);
  2353. }
  2354. }
  2355. p {
  2356. font-size: 16px;
  2357. color: lighten($color1, 8%);
  2358. margin-top: 10px;
  2359. margin-bottom: 10px;
  2360. &:last-child {
  2361. margin-bottom: 0;
  2362. }
  2363. strong {
  2364. font-weight: 500;
  2365. background: $color1;
  2366. color: $color2;
  2367. border-radius: 4px;
  2368. font-size: 14px;
  2369. padding: 3px 6px;
  2370. }
  2371. }
  2372. }
  2373. .onboarding-modal__page-one {
  2374. display: flex;
  2375. }
  2376. .onboarding-modal__page-one__elephant-friend {
  2377. background: url('../images/elephant-friend.png') no-repeat center center/contain;
  2378. width: 147px;
  2379. height: 160px;
  2380. margin-right: 10px;
  2381. }
  2382. .onboarding-modal__page-two,
  2383. .onboarding-modal__page-three,
  2384. .onboarding-modal__page-four,
  2385. .onboarding-modal__page-five {
  2386. p {
  2387. text-align: left;
  2388. }
  2389. .figure {
  2390. background: darken($color1, 8%);
  2391. color: $color2;
  2392. margin-bottom: 20px;
  2393. border-radius: 4px;
  2394. padding: 10px;
  2395. text-align: center;
  2396. font-size: 14px;
  2397. box-shadow: 1px 2px 6px rgba($color8, 0.3);
  2398. .onboarding-modal__image {
  2399. border-radius: 4px;
  2400. margin-bottom: 10px;
  2401. }
  2402. &.non-interactive {
  2403. pointer-events: none;
  2404. text-align: left;
  2405. }
  2406. }
  2407. }
  2408. .onboarding-modal__page-four__columns {
  2409. .row {
  2410. display: flex;
  2411. margin-bottom: 20px;
  2412. & > div {
  2413. flex: 1 1 0;
  2414. margin: 0 10px;
  2415. &:first-child {
  2416. margin-left: 0;
  2417. }
  2418. &:last-child {
  2419. margin-right: 0;
  2420. }
  2421. p {
  2422. text-align: center;
  2423. }
  2424. }
  2425. &:last-child {
  2426. margin-bottom: 0;
  2427. }
  2428. }
  2429. .column-header {
  2430. color: $color5;
  2431. }
  2432. }
  2433. .onboarding-modal__image {
  2434. border-radius: 8px;
  2435. width: 70vw;
  2436. max-width: 450px;
  2437. max-height: auto;
  2438. display: block;
  2439. margin: auto;
  2440. margin-bottom: 20px;
  2441. }
  2442. .onboard-sliders {
  2443. display: inline-block;
  2444. max-width: 30px;
  2445. max-height: auto;
  2446. margin-left: 10px;
  2447. }
  2448. .boost-modal, .confirmation-modal {
  2449. background: lighten($color2, 8%);
  2450. color: $color1;
  2451. border-radius: 8px;
  2452. overflow: hidden;
  2453. max-width: 90vw;
  2454. width: 480px;
  2455. position: relative;
  2456. flex-direction: column;
  2457. .status__display-name {
  2458. display: block;
  2459. max-width: 100%;
  2460. padding-right: 25px;
  2461. }
  2462. .status__avatar {
  2463. height: 28px;
  2464. left: 10px;
  2465. position: absolute;
  2466. top: 10px;
  2467. width: 48px;
  2468. }
  2469. }
  2470. .boost-modal__container {
  2471. overflow-x: scroll;
  2472. padding: 10px;
  2473. .status {
  2474. user-select: text;
  2475. border-bottom: 0;
  2476. }
  2477. }
  2478. .boost-modal__action-bar, .confirmation-modal__action-bar {
  2479. display: flex;
  2480. background: $color2;
  2481. padding: 10px;
  2482. line-height: 36px;
  2483. & > div {
  2484. flex: 1 1 auto;
  2485. text-align: right;
  2486. color: lighten($color1, 33%);
  2487. padding-right: 10px;
  2488. }
  2489. .button {
  2490. flex: 0 0 auto;
  2491. }
  2492. }
  2493. .boost-modal__status-header {
  2494. font-size: 15px;
  2495. }
  2496. .boost-modal__status-time {
  2497. float: right;
  2498. font-size: 14px;
  2499. }
  2500. .confirmation-modal {
  2501. max-width: 280px;
  2502. @media screen and (min-width: 480px) {
  2503. max-width: 380px;
  2504. }
  2505. }
  2506. .confirmation-modal__action-bar {
  2507. & > div {
  2508. text-align: left;
  2509. padding: 0 16px;
  2510. }
  2511. a {
  2512. color: darken($color2, 34%);
  2513. text-decoration: none;
  2514. font-size: 14px;
  2515. font-weight: 500;
  2516. &:hover, &:focus, &:active {
  2517. color: darken($color2, 38%);
  2518. }
  2519. }
  2520. }
  2521. .confirmation-modal__container {
  2522. padding: 30px;
  2523. font-size: 16px;
  2524. text-align: center;
  2525. strong {
  2526. font-weight: 500;
  2527. }
  2528. }
  2529. .loading-bar {
  2530. background-color: $color4;
  2531. height: 3px;
  2532. position: absolute;
  2533. top: 0;
  2534. left: 0;
  2535. }
  2536. .media-gallery__gifv__label {
  2537. display: block;
  2538. position: absolute;
  2539. color: $color5;
  2540. background: rgba($color8, 0.5);
  2541. bottom: 6px;
  2542. left: 6px;
  2543. padding: 2px 6px;
  2544. border-radius: 2px;
  2545. font-size: 11px;
  2546. font-weight: 600;
  2547. z-index: 1;
  2548. pointer-events: none;
  2549. opacity: 0.9;
  2550. transition: opacity 0.1s ease;
  2551. }
  2552. .media-gallery__gifv {
  2553. &.autoplay {
  2554. .media-gallery__gifv__label {
  2555. display: none;
  2556. }
  2557. }
  2558. &:hover {
  2559. .media-gallery__gifv__label {
  2560. opacity: 1;
  2561. }
  2562. }
  2563. }
  2564. .attachment-list {
  2565. display: flex;
  2566. font-size: 14px;
  2567. border: 1px solid lighten($color1, 8%);
  2568. border-radius: 4px;
  2569. margin-top: 14px;
  2570. overflow: hidden;
  2571. }
  2572. .attachment-list__icon {
  2573. flex: 0 0 auto;
  2574. color: lighten($color1, 26%);
  2575. padding: 8px 18px;
  2576. cursor: default;
  2577. border-right: 1px solid lighten($color1, 8%);
  2578. display: flex;
  2579. flex-direction: column;
  2580. align-items: center;
  2581. justify-content: center;
  2582. font-size: 26px;
  2583. .fa {
  2584. display: block;
  2585. }
  2586. }
  2587. .attachment-list__list {
  2588. list-style: none;
  2589. padding: 4px 0;
  2590. padding-left: 8px;
  2591. display: flex;
  2592. flex-direction: column;
  2593. justify-content: center;
  2594. li {
  2595. display: block;
  2596. padding: 4px 0;
  2597. }
  2598. a {
  2599. text-decoration: none;
  2600. color: lighten($color1, 26%);
  2601. font-weight: 500;
  2602. &:hover {
  2603. text-decoration: underline;
  2604. }
  2605. }
  2606. }
  2607. /* Media Gallery */
  2608. .media-gallery {
  2609. box-sizing: border-box;
  2610. margin-top: 8px;
  2611. overflow: hidden;
  2612. position: relative;
  2613. width: 100%;
  2614. }
  2615. .media-gallery__item {
  2616. border: none;
  2617. box-sizing: border-box;
  2618. display: block;
  2619. float: left;
  2620. position: relative;
  2621. }
  2622. .media-gallery__item-thumbnail {
  2623. background-position: center;
  2624. background-repeat: no-repeat;
  2625. background-size: cover;
  2626. cursor: zoom-in;
  2627. display: block;
  2628. height: 100%;
  2629. text-decoration: none;
  2630. width: 100%;
  2631. }
  2632. .media-gallery__gifv {
  2633. height: 100%;
  2634. overflow: hidden;
  2635. position: relative;
  2636. width: 100%;
  2637. }
  2638. .media-gallery__item-gifv-thumbnail {
  2639. cursor: zoom-in;
  2640. height: 100%;
  2641. object-fit: cover;
  2642. position: relative;
  2643. top: 50%;
  2644. transform: translateY(-50%);
  2645. width: 100%;
  2646. z-index: 1;
  2647. }
  2648. .media-gallery__item-thumbnail-label {
  2649. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  2650. clip: rect(1px, 1px, 1px, 1px);
  2651. overflow: hidden;
  2652. position: absolute;
  2653. }
  2654. /* End Media Gallery */
  2655. /* Status Video Player */
  2656. .status__video-player {
  2657. background: #000;
  2658. box-sizing: border-box;
  2659. cursor: default; /* May not be needed */
  2660. margin-top: 8px;
  2661. overflow: hidden;
  2662. position: relative;
  2663. }
  2664. .status__video-player-video {
  2665. height: 100%;
  2666. object-fit: cover;
  2667. position: relative;
  2668. top: 50%;
  2669. transform: translateY(-35%);
  2670. width: 100%;
  2671. z-index: 1;
  2672. }
  2673. .status__video-player-expand,
  2674. .status__video-player-mute {
  2675. color: #fff;
  2676. opacity: 0.8;
  2677. position: absolute;
  2678. right: 4px;
  2679. text-shadow: 0px 1px 1px #000, 1px 0px 1px #000;
  2680. }
  2681. .status__video-player-spoiler {
  2682. color: #fff;
  2683. left: 4px;
  2684. position: absolute;
  2685. text-shadow: 0px 1px 1px #000, 1px 0px 1px #000;
  2686. top: 4px;
  2687. z-index: 100;
  2688. }
  2689. .status__video-player-expand {
  2690. bottom: 4px;
  2691. z-index: 100;
  2692. }
  2693. .status__video-player-mute {
  2694. top: 4px;
  2695. z-index: 5;
  2696. }
  2697. .media-spoiler-video {
  2698. background-size: cover;
  2699. cursor: pointer;
  2700. margin-top: 8px;
  2701. position: relative;
  2702. }
  2703. .media-spoiler-video-play-icon {
  2704. border-radius: 100px;
  2705. color: rgba(255, 255, 255, 0.8);
  2706. font-size: 36px;
  2707. left: 50%;
  2708. padding: 5px;
  2709. position: absolute;
  2710. top: 50%;
  2711. transform: translate(-50%, -50%);
  2712. }
  2713. /* End Video Player */