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.

3144 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. }
  991. .column, .drawer {
  992. flex: 0 0 auto;
  993. padding: 10px;
  994. padding-left: 5px;
  995. padding-right: 5px;
  996. &:first-child {
  997. padding-left: 10px;
  998. }
  999. &:last-child {
  1000. padding-right: 10px;
  1001. }
  1002. }
  1003. .columns-area > div {
  1004. .column, .drawer {
  1005. padding-left: 5px;
  1006. padding-right: 5px;
  1007. }
  1008. }
  1009. }
  1010. @media screen and (min-width: 2560px) {
  1011. .columns-area {
  1012. justify-content: center;
  1013. }
  1014. .column, .drawer {
  1015. width: 350px;
  1016. border-radius: 4px;
  1017. height: 90vh;
  1018. margin-top: 5vh;
  1019. }
  1020. }
  1021. .drawer__pager {
  1022. box-sizing: border-box;
  1023. padding: 0;
  1024. flex-grow: 1;
  1025. position: relative;
  1026. overflow: hidden;
  1027. display: flex;
  1028. }
  1029. .drawer__inner {
  1030. position: absolute;
  1031. top: 0;
  1032. left: 0;
  1033. background: lighten($color1, 13%);
  1034. box-sizing: border-box;
  1035. padding: 0;
  1036. display: flex;
  1037. flex-direction: column;
  1038. overflow: hidden;
  1039. overflow-y: auto;
  1040. width: 100%;
  1041. height: 100%;
  1042. &.darker {
  1043. background: $color1;
  1044. }
  1045. }
  1046. .pseudo-drawer {
  1047. background: lighten($color1, 13%);
  1048. font-size: 13px;
  1049. text-align: left;
  1050. }
  1051. .drawer__header {
  1052. flex: 0 0 auto;
  1053. font-size: 16px;
  1054. background: lighten($color1, 8%);
  1055. margin-bottom: 10px;
  1056. display: flex;
  1057. flex-direction: row;
  1058. a {
  1059. transition: background 100ms ease-in;
  1060. &:hover {
  1061. background: lighten($color1, 3%);
  1062. transition: background 200ms ease-out;
  1063. }
  1064. }
  1065. }
  1066. .tabs-bar {
  1067. display: flex;
  1068. background: lighten($color1, 8%);
  1069. flex: 0 0 auto;
  1070. overflow-y: auto;
  1071. }
  1072. .tabs-bar__link {
  1073. display: block;
  1074. flex: 1 1 auto;
  1075. padding: 15px 10px;
  1076. color: $color5;
  1077. text-decoration: none;
  1078. text-align: center;
  1079. font-size: 14px;
  1080. font-weight: 500;
  1081. border-bottom: 2px solid lighten($color1, 8%);
  1082. transition: all 200ms linear;
  1083. .fa {
  1084. font-weight: 400;
  1085. font-size: 16px;
  1086. }
  1087. &.active {
  1088. border-bottom: 2px solid $color4;
  1089. color: $color4;
  1090. }
  1091. &:hover, &:focus, &:active {
  1092. background: lighten($color1, 14%);
  1093. transition: all 100ms linear;
  1094. }
  1095. span {
  1096. margin-left: 5px;
  1097. display: none;
  1098. }
  1099. }
  1100. @media screen and (min-width: 600px) {
  1101. .tabs-bar__link {
  1102. span {
  1103. display: inline;
  1104. }
  1105. }
  1106. }
  1107. @media screen and (min-width: 1025px) {
  1108. .tabs-bar {
  1109. display: none;
  1110. }
  1111. }
  1112. .react-autosuggest__container {
  1113. position: relative;
  1114. }
  1115. .react-autosuggest__suggestions-container {
  1116. position: absolute;
  1117. top: 100%;
  1118. width: 100%;
  1119. z-index: 99;
  1120. box-shadow: 0 0 15px rgba($color8, 0.4);
  1121. }
  1122. .react-autosuggest__section-title {
  1123. background: $color3;
  1124. padding: 4px 10px;
  1125. font-weight: 500;
  1126. cursor: default;
  1127. color: $color1;
  1128. text-transform: uppercase;
  1129. font-size: 11px;
  1130. }
  1131. .react-autosuggest__suggestions-list {
  1132. background: $color2;
  1133. color: $color1;
  1134. font-size: 14px;
  1135. }
  1136. .react-autosuggest__suggestion {
  1137. padding: 10px;
  1138. cursor: pointer;
  1139. }
  1140. .react-autosuggest__suggestion--focused {
  1141. background: $color4;
  1142. color: $color5;
  1143. }
  1144. .scrollable {
  1145. overflow-y: scroll;
  1146. overflow-x: hidden;
  1147. flex: 1 1 auto;
  1148. backface-visibility: hidden;
  1149. -webkit-overflow-scrolling: touch;
  1150. &.optionally-scrollable {
  1151. overflow-y: auto;
  1152. }
  1153. }
  1154. .column-back-button {
  1155. background: lighten($color1, 4%);
  1156. color: $color4;
  1157. cursor: pointer;
  1158. flex: 0 0 auto;
  1159. font-size: 16px;
  1160. padding: 15px;
  1161. z-index: 3;
  1162. &:hover {
  1163. text-decoration: underline;
  1164. }
  1165. }
  1166. .column-back-button__icon {
  1167. display: inline-block;
  1168. margin-right: 5px;
  1169. }
  1170. .column-back-button--slim {
  1171. position: relative;
  1172. }
  1173. .column-back-button--slim-button {
  1174. cursor: pointer;
  1175. flex: 0 0 auto;
  1176. font-size: 16px;
  1177. padding: 15px;
  1178. position: absolute;
  1179. right: 0;
  1180. top: -48px;
  1181. }
  1182. .react-toggle {
  1183. display: inline-block;
  1184. position: relative;
  1185. cursor: pointer;
  1186. background-color: transparent;
  1187. border: 0;
  1188. padding: 0;
  1189. user-select: none;
  1190. -webkit-tap-highlight-color: rgba($color8, 0);
  1191. -webkit-tap-highlight-color: transparent;
  1192. }
  1193. .react-toggle-screenreader-only {
  1194. border: 0;
  1195. clip: rect(0 0 0 0);
  1196. height: 1px;
  1197. margin: -1px;
  1198. overflow: hidden;
  1199. padding: 0;
  1200. position: absolute;
  1201. width: 1px;
  1202. }
  1203. .react-toggle--disabled {
  1204. cursor: not-allowed;
  1205. opacity: 0.5;
  1206. transition: opacity 0.25s;
  1207. }
  1208. .react-toggle-track {
  1209. width: 50px;
  1210. height: 24px;
  1211. padding: 0;
  1212. border-radius: 30px;
  1213. background-color: $color1;
  1214. transition: all 0.2s ease;
  1215. }
  1216. .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
  1217. background-color: darken($color1, 10%);
  1218. }
  1219. .react-toggle--checked .react-toggle-track {
  1220. background-color: $color4;
  1221. }
  1222. .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
  1223. background-color: lighten($color4, 10%);
  1224. }
  1225. .react-toggle-track-check {
  1226. position: absolute;
  1227. width: 14px;
  1228. height: 10px;
  1229. top: 0px;
  1230. bottom: 0px;
  1231. margin-top: auto;
  1232. margin-bottom: auto;
  1233. line-height: 0;
  1234. left: 8px;
  1235. opacity: 0;
  1236. transition: opacity 0.25s ease;
  1237. }
  1238. .react-toggle--checked .react-toggle-track-check {
  1239. opacity: 1;
  1240. transition: opacity 0.25s ease;
  1241. }
  1242. .react-toggle-track-x {
  1243. position: absolute;
  1244. width: 10px;
  1245. height: 10px;
  1246. top: 0px;
  1247. bottom: 0px;
  1248. margin-top: auto;
  1249. margin-bottom: auto;
  1250. line-height: 0;
  1251. right: 10px;
  1252. opacity: 1;
  1253. transition: opacity 0.25s ease;
  1254. }
  1255. .react-toggle--checked .react-toggle-track-x {
  1256. opacity: 0;
  1257. }
  1258. .react-toggle-thumb {
  1259. transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  1260. position: absolute;
  1261. top: 1px;
  1262. left: 1px;
  1263. width: 22px;
  1264. height: 22px;
  1265. border: 1px solid $color1;
  1266. border-radius: 50%;
  1267. background-color: darken($color5, 2%);
  1268. box-sizing: border-box;
  1269. transition: all 0.25s ease;
  1270. }
  1271. .react-toggle--checked .react-toggle-thumb {
  1272. left: 27px;
  1273. border-color: $color4;
  1274. }
  1275. .column-link {
  1276. background: lighten($color1, 8%);
  1277. color: $color5;
  1278. display: block;
  1279. font-size: 16px;
  1280. padding: 15px;
  1281. text-decoration: none;
  1282. &:hover {
  1283. background: lighten($color1, 11%);
  1284. }
  1285. &.hidden-on-mobile {
  1286. @media screen and (max-width: 1024px) {
  1287. display: none;
  1288. }
  1289. }
  1290. }
  1291. .column-link__icon {
  1292. display: inline-block;
  1293. margin-right: 5px;
  1294. }
  1295. .column-subheading {
  1296. background: $color1;
  1297. color: lighten($color1, 26%);
  1298. padding: 8px 20px;
  1299. font-size: 12px;
  1300. font-weight: 500;
  1301. text-transform: uppercase;
  1302. cursor: default;
  1303. }
  1304. .autosuggest-textarea,
  1305. .spoiler-input {
  1306. position: relative;
  1307. }
  1308. .autosuggest-textarea__textarea,
  1309. .spoiler-input__input {
  1310. display: block;
  1311. box-sizing: border-box;
  1312. width: 100%;
  1313. margin: 0;
  1314. color: $color1;
  1315. padding: 10px;
  1316. font-family: inherit;
  1317. font-size: 14px;
  1318. resize: vertical;
  1319. border: 0;
  1320. outline: 0;
  1321. &:focus {
  1322. outline: 0;
  1323. }
  1324. @media screen and (max-width: 600px) {
  1325. font-size: 16px;
  1326. }
  1327. }
  1328. .spoiler-input__input {
  1329. border-radius: 4px;
  1330. }
  1331. .autosuggest-textarea__textarea {
  1332. min-height: 100px;
  1333. background: $color5;
  1334. border-radius: 4px 4px 0 0;
  1335. padding-bottom: 0;
  1336. padding-right: 10px + 22px;
  1337. resize: none;
  1338. @media screen and (max-width: 600px) {
  1339. height: 100px !important; // prevent auto-resize textarea
  1340. resize: vertical;
  1341. }
  1342. }
  1343. .autosuggest-textarea__suggestions {
  1344. position: absolute;
  1345. top: 100%;
  1346. width: 100%;
  1347. z-index: 99;
  1348. box-shadow: 0 0 15px rgba($color8, 0.4);
  1349. background: $color2;
  1350. color: $color1;
  1351. font-size: 14px;
  1352. }
  1353. .autosuggest-textarea__suggestions__item {
  1354. padding: 10px;
  1355. cursor: pointer;
  1356. &:hover {
  1357. background: darken($color2, 10%);
  1358. }
  1359. &.selected {
  1360. background: $color4;
  1361. color: $color5;
  1362. }
  1363. }
  1364. .autosuggest-account {
  1365. overflow: hidden;
  1366. }
  1367. .autosuggest-account-icon {
  1368. float: left;
  1369. margin-right: 5px;
  1370. }
  1371. .autosuggest-status {
  1372. overflow: hidden;
  1373. white-space: nowrap;
  1374. text-overflow: ellipsis;
  1375. strong {
  1376. font-weight: 500;
  1377. }
  1378. }
  1379. .character-counter__wrapper {
  1380. line-height: 36px;
  1381. margin-right: 16px;
  1382. padding-top: 10px;
  1383. }
  1384. .character-counter {
  1385. cursor: default;
  1386. font-size: 16px;
  1387. }
  1388. .character-counter--over {
  1389. color: #ff5050;
  1390. }
  1391. .getting-started__wrapper {
  1392. position: relative;
  1393. }
  1394. .getting-started {
  1395. box-sizing: border-box;
  1396. padding-bottom: 235px;
  1397. background: image-url('mastodon-getting-started.png') no-repeat 0 100%/contain local;
  1398. flex: 1 0 auto;
  1399. p {
  1400. color: $color2;
  1401. }
  1402. a {
  1403. color: lighten($color1, 26%);
  1404. }
  1405. }
  1406. .setting-text {
  1407. color: $color3;
  1408. background: transparent;
  1409. border: none;
  1410. border-bottom: 2px solid $color3;
  1411. box-sizing: border-box;
  1412. display: block;
  1413. font-family: inherit;
  1414. margin-bottom: 10px;
  1415. padding: 7px 0px;
  1416. width: 100%;
  1417. &:focus, &:active {
  1418. color: $color5;
  1419. border-bottom-color: $color4;
  1420. }
  1421. @media screen and (max-width: 600px) {
  1422. font-size: 16px;
  1423. }
  1424. }
  1425. @import 'boost';
  1426. button.icon-button i.fa-retweet {
  1427. height: 19px;
  1428. width: 22px;
  1429. background-position: 0 0;
  1430. transition: background-position 0.9s steps(10);
  1431. transition-duration: 0s;
  1432. &::before {
  1433. display: none !important;
  1434. }
  1435. }
  1436. button.icon-button.active i.fa-retweet {
  1437. transition-duration: 0.9s;
  1438. background-position: 0 100%;
  1439. }
  1440. .status-card {
  1441. display: flex;
  1442. cursor: pointer;
  1443. font-size: 14px;
  1444. border: 1px solid lighten($color1, 8%);
  1445. border-radius: 4px;
  1446. color: lighten($color1, 26%);
  1447. margin-top: 14px;
  1448. text-decoration: none;
  1449. overflow: hidden;
  1450. &:hover {
  1451. background: lighten($color1, 8%);
  1452. }
  1453. }
  1454. .status-card-video, .status-card-rich, .status-card-photo {
  1455. margin-top: 14px;
  1456. overflow: hidden;
  1457. iframe {
  1458. width: 100%;
  1459. height: auto;
  1460. }
  1461. }
  1462. .status-card-photo {
  1463. display: block;
  1464. text-decoration: none;
  1465. img {
  1466. display: block;
  1467. width: 100%;
  1468. height: auto;
  1469. margin: 0;
  1470. }
  1471. }
  1472. .status-card__title {
  1473. display: block;
  1474. font-weight: 500;
  1475. margin-bottom: 5px;
  1476. color: $color3;
  1477. overflow: hidden;
  1478. text-overflow: ellipsis;
  1479. white-space: nowrap;
  1480. }
  1481. .status-card__content {
  1482. flex: 1 1 auto;
  1483. overflow: hidden;
  1484. padding: 14px 14px 14px 8px;
  1485. }
  1486. .status-card__description {
  1487. color: $color3;
  1488. }
  1489. .status-card__image {
  1490. flex: 0 0 100px;
  1491. background: lighten($color1, 8%);
  1492. }
  1493. .status-card__image-image {
  1494. border-radius: 4px 0px 0px 4px;
  1495. display: block;
  1496. height: auto;
  1497. margin: 0;
  1498. width: 100%;
  1499. }
  1500. .load-more {
  1501. display: block;
  1502. color: lighten($color1, 26%);
  1503. text-align: center;
  1504. padding: 15px;
  1505. text-decoration: none;
  1506. &:hover {
  1507. background: lighten($color1, 2%);
  1508. }
  1509. }
  1510. .missing-indicator {
  1511. text-align: center;
  1512. font-size: 16px;
  1513. font-weight: 500;
  1514. color: lighten($color1, 16%);
  1515. padding-top: 210px;
  1516. background: image-url('mastodon-not-found.png') no-repeat center -50px;
  1517. cursor: default;
  1518. }
  1519. .column-header {
  1520. padding: 15px;
  1521. font-size: 16px;
  1522. background: lighten($color1, 4%);
  1523. flex: 0 0 auto;
  1524. cursor: pointer;
  1525. position: relative;
  1526. z-index: 2;
  1527. outline: 0;
  1528. &.active {
  1529. box-shadow: 0 1px 0 rgba($color4, 0.3);
  1530. }
  1531. &.active .fa {
  1532. color: $color4;
  1533. text-shadow: 0 0 10px rgba($color4, 0.4);
  1534. }
  1535. &.hidden-on-mobile {
  1536. @media screen and (max-width: 1024px) {
  1537. display: none;
  1538. }
  1539. }
  1540. &:focus, &:active {
  1541. outline: 0;
  1542. }
  1543. }
  1544. .column-header__icon {
  1545. display: inline-block;
  1546. margin-right: 5px;
  1547. }
  1548. .loading-indicator {
  1549. color: $color2;
  1550. font-size: 16px;
  1551. font-weight: 500;
  1552. padding-top: 120px;
  1553. text-align: center;
  1554. }
  1555. .collapsable-collapsed {
  1556. color: $color3;
  1557. background: lighten($color1, 4%);
  1558. }
  1559. .collapsable {
  1560. color: $color5;
  1561. background: lighten($color1, 8%);
  1562. &:hover {
  1563. color: $color5;
  1564. background: lighten($color1, 8%);
  1565. }
  1566. }
  1567. .media-spoiler,
  1568. .video-error-cover {
  1569. align-items: center;
  1570. background: $color8;
  1571. color: $color5;
  1572. cursor: pointer;
  1573. display: flex;
  1574. flex-direction: column;
  1575. height: 100%;
  1576. justify-content: center;
  1577. margin-top: 8px;
  1578. position: relative;
  1579. text-align: center;
  1580. z-index: 100;
  1581. }
  1582. .media-spoiler__warning {
  1583. display: block;
  1584. font-size: 14px;
  1585. }
  1586. .media-spoiler__trigger {
  1587. display: block;
  1588. font-size: 11px;
  1589. font-weight: 500;
  1590. }
  1591. .spoiler-button {
  1592. left: 4px;
  1593. position: absolute;
  1594. text-shadow: 0px 1px 1px #000, 1px 0px 1px #000;
  1595. top: 4px;
  1596. z-index: 100;
  1597. }
  1598. .modal-container--preloader {
  1599. background: lighten($color1, 8%);
  1600. }
  1601. .account--panel {
  1602. background: lighten($color1, 4%);
  1603. border-top: 1px solid lighten($color1, 8%);
  1604. border-bottom: 1px solid lighten($color1, 8%);
  1605. display: flex;
  1606. flex-direction: row;
  1607. padding: 10px 0px;
  1608. }
  1609. .account--panel__button,
  1610. .detailed-status__button {
  1611. flex: 1 1 auto;
  1612. text-align: center;
  1613. }
  1614. .column-settings__outer {
  1615. background: lighten($color1, 8%);
  1616. padding: 15px;
  1617. }
  1618. .column-settings__section {
  1619. color: $color3;
  1620. cursor: default;
  1621. display: block;
  1622. font-weight: 500;
  1623. margin-bottom: 10px;
  1624. }
  1625. .modal-container__nav {
  1626. align-items: center;
  1627. background: rgba(0, 0, 0, 0.5);
  1628. box-sizing: border-box;
  1629. color: $color5;
  1630. cursor: pointer;
  1631. display: flex;
  1632. font-size: 24px;
  1633. height: 100%;
  1634. padding: 30px 15px;
  1635. position: absolute;
  1636. top: 0;
  1637. }
  1638. .modal-container__nav--left {
  1639. left: -61px;
  1640. }
  1641. .modal-container__nav--right {
  1642. right: -61px;
  1643. }
  1644. .account--follows-info {
  1645. color: $color5;
  1646. }
  1647. .setting-toggle__label {
  1648. display: block;
  1649. line-height: 24px;
  1650. vertical-align: middle;
  1651. }
  1652. .setting-toggle {
  1653. color: $color3;
  1654. display: inline-block;
  1655. margin-bottom: 14px;
  1656. margin-left: 8px;
  1657. vertical-align: middle;
  1658. }
  1659. .report.scrollable {
  1660. box-sizing: border-box;
  1661. display: flex;
  1662. flex-direction: column;
  1663. max-height: 100%;
  1664. }
  1665. .report__target {
  1666. border-bottom: 1px solid lighten($color1, 4%);
  1667. color: $color2;
  1668. flex: 0 0 auto;
  1669. padding: 10px;
  1670. strong {
  1671. display: block;
  1672. color: $color5;
  1673. font-weight: 500;
  1674. }
  1675. }
  1676. .report__statuses {
  1677. flex: 1 1 auto;
  1678. }
  1679. .report__textarea-wrapper {
  1680. flex: 0 0 100px;
  1681. padding: 10px;
  1682. }
  1683. .report__textarea {
  1684. background: transparent;
  1685. box-sizing: border-box;
  1686. border: 0;
  1687. border-bottom: 2px solid $color3;
  1688. border-radius: 2px 2px 0 0;
  1689. color: $color5;
  1690. display: block;
  1691. font-family: inherit;
  1692. font-size: 14px;
  1693. margin-bottom: 10px;
  1694. outline: 0;
  1695. padding: 7px 4px;
  1696. resize: vertical;
  1697. width: 100%;
  1698. &:active, &:focus {
  1699. border-bottom-color: $color4;
  1700. background: rgba($color8, 0.1);
  1701. }
  1702. }
  1703. .report__submit {
  1704. margin-top: 10px;
  1705. overflow: hidden;
  1706. }
  1707. .report__submit-button {
  1708. float: right;
  1709. }
  1710. .empty-column-indicator {
  1711. color: lighten($color1, 20%);
  1712. background: $color1;
  1713. text-align: center;
  1714. padding: 20px;
  1715. font-size: 15px;
  1716. font-weight: 400;
  1717. cursor: default;
  1718. display: flex;
  1719. flex: 1 1 auto;
  1720. align-items: center;
  1721. a {
  1722. color: $color4;
  1723. text-decoration: none;
  1724. &:hover {
  1725. text-decoration: underline;
  1726. }
  1727. }
  1728. }
  1729. .status-list__unread-indicator, .notifications__unread-indicator {
  1730. position: absolute;
  1731. top: 35px;
  1732. left: 0;
  1733. right: 0;
  1734. margin: 0 auto;
  1735. width: 60%;
  1736. pointer-events: none;
  1737. height: 28px;
  1738. z-index: 1;
  1739. background: radial-gradient(ellipse, rgba($color4, 0.23) 0%, rgba($color4, 0) 60%);
  1740. }
  1741. .emoji-dialog {
  1742. width: 245px;
  1743. height: 270px;
  1744. background: $color5;
  1745. box-sizing: border-box;
  1746. border-radius: 4px;
  1747. overflow: hidden;
  1748. position: relative;
  1749. box-shadow: 0 0 8px rgba($color8, 0.2);
  1750. .emojione {
  1751. margin: 0;
  1752. width: 100%;
  1753. height: auto;
  1754. }
  1755. .emoji-dialog-header {
  1756. padding: 0 10px;
  1757. ul {
  1758. padding: 0;
  1759. margin: 0;
  1760. list-style: none;
  1761. }
  1762. li {
  1763. display: inline-block;
  1764. box-sizing: border-box;
  1765. padding: 10px 5px;
  1766. cursor: pointer;
  1767. border-bottom: 2px solid transparent;
  1768. .emoji {
  1769. width: 18px;
  1770. height: 18px;
  1771. }
  1772. img, svg {
  1773. width: 18px;
  1774. height: 18px;
  1775. filter: grayscale(100%);
  1776. }
  1777. &:hover {
  1778. img, svg {
  1779. filter: grayscale(0);
  1780. }
  1781. }
  1782. &.active {
  1783. border-bottom-color: $color4;
  1784. img, svg {
  1785. filter: grayscale(0);
  1786. }
  1787. }
  1788. }
  1789. }
  1790. .emoji-row {
  1791. box-sizing: border-box;
  1792. overflow-y: hidden;
  1793. padding-left: 10px;
  1794. .emoji {
  1795. display: inline-block;
  1796. padding: 2.5px;
  1797. border-radius: 4px;
  1798. }
  1799. }
  1800. .emoji-category-header {
  1801. box-sizing: border-box;
  1802. overflow-y: hidden;
  1803. padding: 10px 8px 10px 16px;
  1804. display: table;
  1805. > * {
  1806. display: table-cell;
  1807. vertical-align: middle;
  1808. }
  1809. }
  1810. .emoji-category-title {
  1811. font-size: 12px;
  1812. text-transform: uppercase;
  1813. font-weight: 500;
  1814. color: darken($color2, 18%);
  1815. cursor: default;
  1816. }
  1817. .emoji-category-heading-decoration {
  1818. text-align: right;
  1819. }
  1820. .modifiers {
  1821. list-style: none;
  1822. padding: 0;
  1823. margin: 0;
  1824. vertical-align: middle;
  1825. white-space: nowrap;
  1826. margin-top: 4px;
  1827. li {
  1828. display: inline-block;
  1829. padding: 0 2px;
  1830. &:last-of-type {
  1831. padding-right: 0;
  1832. }
  1833. }
  1834. .modifier {
  1835. display: inline-block;
  1836. border-radius: 10px;
  1837. width: 15px;
  1838. height: 15px;
  1839. position: relative;
  1840. cursor: pointer;
  1841. &.active:after {
  1842. content: "";
  1843. display: block;
  1844. position: absolute;
  1845. width: 7px;
  1846. height: 7px;
  1847. border-radius: 10px;
  1848. border: 2px solid $color5;
  1849. top: 2px;
  1850. left: 2px;
  1851. }
  1852. }
  1853. }
  1854. .emoji-search-wrapper {
  1855. padding: 10px;
  1856. border-bottom: 1px solid lighten($color2, 4%);
  1857. }
  1858. .emoji-search {
  1859. font-size: 14px;
  1860. font-weight: 400;
  1861. padding: 7px 9px;
  1862. font-family: inherit;
  1863. display: block;
  1864. width: 100%;
  1865. background: rgba($color2, 0.3);
  1866. color: darken($color2, 18%);
  1867. border: 1px solid $color2;
  1868. border-radius: 4px;
  1869. }
  1870. .emoji-categories-wrapper {
  1871. position: absolute;
  1872. top: 42px;
  1873. bottom: 0;
  1874. left: 0;
  1875. right: 0;
  1876. }
  1877. .emoji-search-wrapper + .emoji-categories-wrapper {
  1878. top: 93px;
  1879. }
  1880. .emoji-row .emoji {
  1881. img, svg {
  1882. transition: transform 60ms ease-in-out;
  1883. }
  1884. &:hover {
  1885. background: lighten($color2, 3%);
  1886. img, svg {
  1887. transform: translateZ(0) scale(1.2);
  1888. }
  1889. }
  1890. }
  1891. .emoji {
  1892. width: 22px;
  1893. height: 22px;
  1894. cursor: pointer;
  1895. &:focus {
  1896. outline: 0;
  1897. }
  1898. }
  1899. }
  1900. .upload-area {
  1901. align-items: center;
  1902. background: rgba($color8, 0.8);
  1903. display: flex;
  1904. height: 100%;
  1905. justify-content: center;
  1906. left: 0;
  1907. opacity: 0;
  1908. position: absolute;
  1909. top: 0;
  1910. visibility: hidden;
  1911. width: 100%;
  1912. z-index: 2000;
  1913. * {
  1914. pointer-events: none;
  1915. }
  1916. }
  1917. .upload-area__drop {
  1918. width: 320px;
  1919. height: 160px;
  1920. display: flex;
  1921. box-sizing: border-box;
  1922. position: relative;
  1923. padding: 8px;
  1924. }
  1925. .upload-area__background {
  1926. position: absolute;
  1927. top: 0;
  1928. right: 0;
  1929. bottom: 0;
  1930. left: 0;
  1931. z-index: -1;
  1932. border-radius: 4px;
  1933. background: $color1;
  1934. box-shadow: 0 0 5px rgba($color8, 0.2);
  1935. }
  1936. .upload-area__content {
  1937. flex: 1;
  1938. display: flex;
  1939. align-items: center;
  1940. justify-content: center;
  1941. color: $color2;
  1942. font-size: 18px;
  1943. font-weight: 500;
  1944. border: 2px dashed lighten($color1, 26%);
  1945. border-radius: 4px;
  1946. }
  1947. .upload-progress {
  1948. padding: 10px;
  1949. color: lighten($color1, 26%);
  1950. overflow: hidden;
  1951. display: flex;
  1952. .fa {
  1953. font-size: 34px;
  1954. margin-right: 10px;
  1955. }
  1956. span {
  1957. font-size: 12px;
  1958. text-transform: uppercase;
  1959. font-weight: 500;
  1960. display: block;
  1961. }
  1962. }
  1963. .upload-progess__message {
  1964. flex: 1 1 auto;
  1965. }
  1966. .upload-progress__backdrop {
  1967. width: 100%;
  1968. height: 6px;
  1969. border-radius: 6px;
  1970. background: lighten($color1, 26%);
  1971. position: relative;
  1972. margin-top: 5px;
  1973. }
  1974. .upload-progress__tracker {
  1975. position: absolute;
  1976. left: 0;
  1977. top: 0;
  1978. height: 6px;
  1979. background: $color4;
  1980. border-radius: 6px;
  1981. }
  1982. .emoji-button {
  1983. outline: 0;
  1984. &:active, &:focus {
  1985. outline: 0 !important;
  1986. }
  1987. img {
  1988. filter: grayscale(100%);
  1989. opacity: 0.8;
  1990. display: block;
  1991. margin: 0;
  1992. width: 22px;
  1993. height: 22px;
  1994. margin-top: 2px;
  1995. }
  1996. &:hover, &:active, &:focus {
  1997. img {
  1998. opacity: 1;
  1999. filter: none;
  2000. }
  2001. }
  2002. }
  2003. .dropdown--active .emoji-button img {
  2004. opacity: 1;
  2005. filter: none;
  2006. }
  2007. .privacy-dropdown {
  2008. position: relative;
  2009. }
  2010. .privacy-dropdown__dropdown {
  2011. display: none;
  2012. position: absolute;
  2013. left: 0;
  2014. top: 27px;
  2015. width: 230px;
  2016. background: $color5;
  2017. border-radius: 0 4px 4px 4px;
  2018. z-index: 2;
  2019. overflow: hidden;
  2020. }
  2021. .privacy-dropdown__option {
  2022. color: $color1;
  2023. padding: 10px;
  2024. cursor: pointer;
  2025. display: flex;
  2026. &:hover, &.active {
  2027. background: $color4;
  2028. color: $color5;
  2029. .privacy-dropdown__option__content {
  2030. color: $color5;
  2031. strong {
  2032. color: $color5;
  2033. }
  2034. }
  2035. }
  2036. &.active:hover {
  2037. background: lighten($color4, 4%);
  2038. }
  2039. }
  2040. .privacy-dropdown__option__icon {
  2041. display: flex;
  2042. align-items: center;
  2043. justify-content: center;
  2044. margin-right: 10px;
  2045. }
  2046. .privacy-dropdown__option__content {
  2047. flex: 1 1 auto;
  2048. color: darken($color3, 24%);
  2049. strong {
  2050. font-weight: 500;
  2051. display: block;
  2052. color: $color1;
  2053. }
  2054. }
  2055. .privacy-dropdown.active {
  2056. .privacy-dropdown__value {
  2057. background: $color5;
  2058. border-radius: 4px 4px 0 0;
  2059. box-shadow: 0 -4px 4px rgba($color8, 0.1);
  2060. }
  2061. .privacy-dropdown__dropdown {
  2062. display: block;
  2063. box-shadow: 2px 4px 6px rgba($color8, 0.1);
  2064. }
  2065. }
  2066. .search {
  2067. position: relative;
  2068. }
  2069. .search__input {
  2070. padding-right: 30px;
  2071. color: $color2;
  2072. outline: 0;
  2073. box-sizing: border-box;
  2074. display: block;
  2075. width: 100%;
  2076. border: none;
  2077. padding: 10px;
  2078. padding-right: 30px;
  2079. font-family: inherit;
  2080. background: $color1;
  2081. color: $color3;
  2082. font-size: 14px;
  2083. margin: 0;
  2084. &::-moz-focus-inner {
  2085. border: 0;
  2086. }
  2087. &::-moz-focus-inner, &:focus, &:active {
  2088. outline: 0 !important;
  2089. }
  2090. &:focus {
  2091. background: lighten($color1, 4%);
  2092. }
  2093. @media screen and (max-width: 600px) {
  2094. font-size: 16px;
  2095. }
  2096. }
  2097. .search__icon {
  2098. .fa {
  2099. position: absolute;
  2100. top: 10px;
  2101. right: 10px;
  2102. z-index: 2;
  2103. display: inline-block;
  2104. opacity: 0;
  2105. transition: all 100ms linear;
  2106. font-size: 18px;
  2107. width: 18px;
  2108. height: 18px;
  2109. color: $color2;
  2110. cursor: default;
  2111. pointer-events: none;
  2112. &.active {
  2113. pointer-events: auto;
  2114. opacity: 0.3;
  2115. }
  2116. }
  2117. .fa-search {
  2118. transform: translateZ(0) rotate(90deg);
  2119. &.active {
  2120. pointer-events: none;
  2121. transform: translateZ(0) rotate(0deg);
  2122. }
  2123. }
  2124. .fa-times-circle {
  2125. top: 11px;
  2126. transform: translateZ(0) rotate(0deg);
  2127. cursor: pointer;
  2128. &.active {
  2129. transform: translateZ(0) rotate(90deg);
  2130. }
  2131. &:hover {
  2132. color: $color5;
  2133. }
  2134. }
  2135. }
  2136. .search-results__header {
  2137. color: lighten($color1, 26%);
  2138. background: lighten($color1, 2%);
  2139. border-bottom: 1px solid darken($color1, 4%);
  2140. padding: 15px 10px;
  2141. font-size: 14px;
  2142. font-weight: 500;
  2143. }
  2144. .search-results__hashtag {
  2145. display: block;
  2146. padding: 10px;
  2147. color: $color2;
  2148. text-decoration: none;
  2149. &:hover, &:active, &:focus {
  2150. color: lighten($color2, 4%);
  2151. text-decoration: underline;
  2152. }
  2153. }
  2154. .modal-root__overlay {
  2155. position: absolute;
  2156. top: 0;
  2157. left: 0;
  2158. right: 0;
  2159. bottom: 0;
  2160. z-index: 9999;
  2161. opacity: 0;
  2162. background: rgba($color8, 0.7);
  2163. transform: translateZ(0px);
  2164. }
  2165. .modal-root__container {
  2166. position: absolute;
  2167. top: 0;
  2168. left: 0;
  2169. width: 100%;
  2170. height: 100%;
  2171. display: flex;
  2172. flex-direction: column;
  2173. align-items: center;
  2174. justify-content: center;
  2175. align-content: space-around;
  2176. z-index: 9999;
  2177. opacity: 0;
  2178. pointer-events: none;
  2179. user-select: none;
  2180. }
  2181. .modal-root__modal {
  2182. pointer-events: auto;
  2183. display: flex;
  2184. z-index: 9999;
  2185. }
  2186. .media-modal {
  2187. max-width: 80vw;
  2188. max-height: 80vh;
  2189. position: relative;
  2190. img, video {
  2191. max-width: 80vw;
  2192. max-height: 80vh;
  2193. }
  2194. }
  2195. .media-modal__close {
  2196. position: absolute;
  2197. right: 4px;
  2198. top: 4px;
  2199. z-index: 100;
  2200. }
  2201. .onboarding-modal {
  2202. background: $color2;
  2203. color: $color1;
  2204. border-radius: 8px;
  2205. overflow: hidden;
  2206. display: flex;
  2207. flex-direction: column;
  2208. }
  2209. .onboarding-modal__pager {
  2210. height: 80vh;
  2211. width: 80vw;
  2212. max-width: 520px;
  2213. max-height: 420px;
  2214. position: relative;
  2215. & > div {
  2216. position: absolute;
  2217. top: 0;
  2218. left: 0;
  2219. width: 100%;
  2220. height: 100%;
  2221. box-sizing: border-box;
  2222. padding: 25px;
  2223. display: none;
  2224. flex-direction: column;
  2225. align-items: center;
  2226. justify-content: center;
  2227. display: flex;
  2228. opacity: 0;
  2229. user-select: text;
  2230. }
  2231. }
  2232. @media screen and (max-width: 550px) {
  2233. .onboarding-modal {
  2234. width: 100%;
  2235. height: 100%;
  2236. border-radius: 0;
  2237. }
  2238. .onboarding-modal__pager {
  2239. width: 100%;
  2240. height: auto;
  2241. max-width: none;
  2242. max-height: none;
  2243. flex: 1 1 auto;
  2244. }
  2245. }
  2246. .onboarding-modal__paginator {
  2247. flex: 0 0 auto;
  2248. background: darken($color2, 8%);
  2249. display: flex;
  2250. padding: 25px;
  2251. & > div {
  2252. min-width: 33px;
  2253. }
  2254. a {
  2255. color: darken($color2, 34%);
  2256. text-decoration: none;
  2257. font-size: 14px;
  2258. font-weight: 500;
  2259. &:hover, &:focus, &:active {
  2260. color: darken($color2, 38%);
  2261. }
  2262. &.onboarding-modal__done, &.onboarding-modal__next {
  2263. color: $color4;
  2264. }
  2265. }
  2266. }
  2267. .onboarding-modal__dots {
  2268. flex: 1 1 auto;
  2269. display: flex;
  2270. align-items: center;
  2271. justify-content: center;
  2272. }
  2273. .onboarding-modal__dot {
  2274. width: 14px;
  2275. height: 14px;
  2276. border-radius: 14px;
  2277. background: darken($color2, 16%);
  2278. margin: 0 3px;
  2279. cursor: pointer;
  2280. &:hover {
  2281. background: darken($color2, 18%);
  2282. }
  2283. &.active {
  2284. cursor: default;
  2285. background: darken($color2, 24%);
  2286. }
  2287. }
  2288. .onboarding-modal__page {
  2289. cursor: default;
  2290. line-height: 21px;
  2291. h1 {
  2292. font-size: 18px;
  2293. font-weight: 500;
  2294. color: $color1;
  2295. margin-bottom: 20px;
  2296. }
  2297. a {
  2298. color: $color4;
  2299. &:hover, &:focus, &:active {
  2300. color: lighten($color4, 4%);
  2301. }
  2302. }
  2303. p {
  2304. font-size: 16px;
  2305. color: lighten($color1, 8%);
  2306. margin-top: 10px;
  2307. margin-bottom: 10px;
  2308. &:last-child {
  2309. margin-bottom: 0;
  2310. }
  2311. strong {
  2312. font-weight: 500;
  2313. background: $color1;
  2314. color: $color2;
  2315. border-radius: 4px;
  2316. font-size: 14px;
  2317. padding: 3px 6px;
  2318. }
  2319. }
  2320. }
  2321. .onboarding-modal__page-one {
  2322. display: flex;
  2323. }
  2324. .onboarding-modal__page-one__elephant-friend {
  2325. background: image-url('elephant-friend.png') no-repeat center center/contain;
  2326. width: 147px;
  2327. height: 160px;
  2328. margin-right: 10px;
  2329. }
  2330. .onboarding-modal__page-two,
  2331. .onboarding-modal__page-three,
  2332. .onboarding-modal__page-four,
  2333. .onboarding-modal__page-five {
  2334. p {
  2335. text-align: left;
  2336. }
  2337. .figure {
  2338. background: darken($color1, 8%);
  2339. color: $color2;
  2340. margin-bottom: 20px;
  2341. border-radius: 4px;
  2342. padding: 10px;
  2343. text-align: center;
  2344. font-size: 14px;
  2345. box-shadow: 1px 2px 6px rgba($color8, 0.3);
  2346. .onboarding-modal__image {
  2347. border-radius: 4px;
  2348. margin-bottom: 10px;
  2349. }
  2350. &.non-interactive {
  2351. pointer-events: none;
  2352. text-align: left;
  2353. }
  2354. }
  2355. }
  2356. .onboarding-modal__page-four__columns {
  2357. .row {
  2358. display: flex;
  2359. margin-bottom: 20px;
  2360. & > div {
  2361. flex: 1 1 0;
  2362. margin: 0 10px;
  2363. &:first-child {
  2364. margin-left: 0;
  2365. }
  2366. &:last-child {
  2367. margin-right: 0;
  2368. }
  2369. p {
  2370. text-align: center;
  2371. }
  2372. }
  2373. &:last-child {
  2374. margin-bottom: 0;
  2375. }
  2376. }
  2377. .column-header {
  2378. color: $color5;
  2379. }
  2380. }
  2381. .onboarding-modal__image {
  2382. border-radius: 8px;
  2383. width: 70vw;
  2384. max-width: 450px;
  2385. max-height: auto;
  2386. display: block;
  2387. margin: auto;
  2388. margin-bottom: 20px;
  2389. }
  2390. .onboard-sliders {
  2391. display: inline-block;
  2392. max-width: 30px;
  2393. max-height: auto;
  2394. margin-left: 10px;
  2395. }
  2396. .boost-modal, .confirmation-modal {
  2397. background: lighten($color2, 8%);
  2398. color: $color1;
  2399. border-radius: 8px;
  2400. overflow: hidden;
  2401. max-width: 90vw;
  2402. width: 480px;
  2403. position: relative;
  2404. flex-direction: column;
  2405. .status__display-name {
  2406. display: block;
  2407. max-width: 100%;
  2408. padding-right: 25px;
  2409. }
  2410. .status__avatar {
  2411. height: 28px;
  2412. left: 10px;
  2413. position: absolute;
  2414. top: 10px;
  2415. width: 48px;
  2416. }
  2417. }
  2418. .boost-modal__container {
  2419. overflow-x: scroll;
  2420. padding: 10px;
  2421. .status {
  2422. user-select: text;
  2423. border-bottom: 0;
  2424. }
  2425. }
  2426. .boost-modal__action-bar, .confirmation-modal__action-bar {
  2427. display: flex;
  2428. background: $color2;
  2429. padding: 10px;
  2430. line-height: 36px;
  2431. & > div {
  2432. flex: 1 1 auto;
  2433. text-align: right;
  2434. color: lighten($color1, 33%);
  2435. padding-right: 10px;
  2436. }
  2437. .button {
  2438. flex: 0 0 auto;
  2439. }
  2440. }
  2441. .boost-modal__status-header {
  2442. font-size: 15px;
  2443. }
  2444. .boost-modal__status-time {
  2445. float: right;
  2446. font-size: 14px;
  2447. }
  2448. .confirmation-modal {
  2449. max-width: 380px;
  2450. }
  2451. .confirmation-modal__action-bar {
  2452. & > div {
  2453. text-align: left;
  2454. padding: 0 16px;
  2455. }
  2456. a {
  2457. color: darken($color2, 34%);
  2458. text-decoration: none;
  2459. font-size: 14px;
  2460. font-weight: 500;
  2461. &:hover, &:focus, &:active {
  2462. color: darken($color2, 38%);
  2463. }
  2464. }
  2465. }
  2466. .confirmation-modal__container {
  2467. padding: 30px;
  2468. font-size: 16px;
  2469. text-align: center;
  2470. strong {
  2471. font-weight: 500;
  2472. }
  2473. }
  2474. .loading-bar {
  2475. background-color: $color4;
  2476. height: 3px;
  2477. position: absolute;
  2478. top: 0;
  2479. left: 0;
  2480. }
  2481. .media-gallery__gifv__label {
  2482. display: block;
  2483. position: absolute;
  2484. color: $color5;
  2485. background: rgba($color8, 0.5);
  2486. bottom: 6px;
  2487. left: 6px;
  2488. padding: 2px 6px;
  2489. border-radius: 2px;
  2490. font-size: 11px;
  2491. font-weight: 600;
  2492. z-index: 1;
  2493. pointer-events: none;
  2494. opacity: 0.9;
  2495. transition: opacity 0.1s ease;
  2496. }
  2497. .media-gallery__gifv {
  2498. &.autoplay {
  2499. .media-gallery__gifv__label {
  2500. display: none;
  2501. }
  2502. }
  2503. &:hover {
  2504. .media-gallery__gifv__label {
  2505. opacity: 1;
  2506. }
  2507. }
  2508. }
  2509. .attachment-list {
  2510. display: flex;
  2511. font-size: 14px;
  2512. border: 1px solid lighten($color1, 8%);
  2513. border-radius: 4px;
  2514. margin-top: 14px;
  2515. overflow: hidden;
  2516. }
  2517. .attachment-list__icon {
  2518. flex: 0 0 auto;
  2519. color: lighten($color1, 26%);
  2520. padding: 8px 18px;
  2521. cursor: default;
  2522. border-right: 1px solid lighten($color1, 8%);
  2523. display: flex;
  2524. flex-direction: column;
  2525. align-items: center;
  2526. justify-content: center;
  2527. font-size: 26px;
  2528. .fa {
  2529. display: block;
  2530. }
  2531. }
  2532. .attachment-list__list {
  2533. list-style: none;
  2534. padding: 4px 0;
  2535. padding-left: 8px;
  2536. display: flex;
  2537. flex-direction: column;
  2538. justify-content: center;
  2539. li {
  2540. display: block;
  2541. padding: 4px 0;
  2542. }
  2543. a {
  2544. text-decoration: none;
  2545. color: lighten($color1, 26%);
  2546. font-weight: 500;
  2547. &:hover {
  2548. text-decoration: underline;
  2549. }
  2550. }
  2551. }
  2552. /* Media Gallery */
  2553. .media-gallery {
  2554. box-sizing: border-box;
  2555. margin-top: 8px;
  2556. overflow: hidden;
  2557. position: relative;
  2558. width: 100%;
  2559. }
  2560. .media-gallery__item {
  2561. border: none;
  2562. box-sizing: border-box;
  2563. display: block;
  2564. float: left;
  2565. position: relative;
  2566. }
  2567. .media-gallery__item-thumbnail {
  2568. background-position: center;
  2569. background-repeat: no-repeat;
  2570. background-size: cover;
  2571. cursor: zoom-in;
  2572. display: block;
  2573. height: 100%;
  2574. text-decoration: none;
  2575. width: 100%;
  2576. }
  2577. .media-gallery__gifv {
  2578. height: 100%;
  2579. overflow: hidden;
  2580. position: relative;
  2581. width: 100%;
  2582. }
  2583. .media-gallery__item-gifv-thumbnail {
  2584. cursor: zoom-in;
  2585. height: 100%;
  2586. object-fit: cover;
  2587. position: relative;
  2588. top: 50%;
  2589. transform: translateY(-50%);
  2590. width: 100%;
  2591. z-index: 1;
  2592. }
  2593. .media-gallery__item-thumbnail-label {
  2594. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  2595. clip: rect(1px, 1px, 1px, 1px);
  2596. overflow: hidden;
  2597. position: absolute;
  2598. }
  2599. /* End Media Gallery */
  2600. /* Status Video Player */
  2601. .status__video-player {
  2602. background: #000;
  2603. box-sizing: border-box;
  2604. cursor: default; /* May not be needed */
  2605. margin-top: 8px;
  2606. overflow: hidden;
  2607. position: relative;
  2608. }
  2609. .status__video-player-video {
  2610. height: 100%;
  2611. object-fit: cover;
  2612. position: relative;
  2613. top: 50%;
  2614. transform: translateY(-50%);
  2615. width: 100%;
  2616. z-index: 1;
  2617. }
  2618. .status__video-player-expand,
  2619. .status__video-player-mute {
  2620. color: #fff;
  2621. opacity: 0.8;
  2622. position: absolute;
  2623. right: 4px;
  2624. text-shadow: 0px 1px 1px #000, 1px 0px 1px #000;
  2625. top: 4px;
  2626. }
  2627. .status__video-player-spoiler {
  2628. color: #fff;
  2629. text-shadow: 0px 1px 1px #000, 1px 0px 1px #000;
  2630. }
  2631. .status__video-player-expand {
  2632. z-index: 100;
  2633. }
  2634. .status__video-player-mute {
  2635. z-index: 5;
  2636. }
  2637. .media-spoiler-video {
  2638. background-size: cover;
  2639. cursor: pointer;
  2640. margin-top: 8px;
  2641. position: relative;
  2642. }
  2643. .media-spoiler-video-play-icon {
  2644. border-radius: 100px;
  2645. color: rgba(255, 255, 255, 0.8);
  2646. font-size: 36px;
  2647. padding: 5px;
  2648. position: absolute;
  2649. top: 50%;
  2650. transform: translate(-50%, -50%);
  2651. }
  2652. /* End Video Player */