The code powering m.abunchtell.com https://m.abunchtell.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

3194 rindas
50 KiB

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