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.

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