闭社主体 forked from https://github.com/tootsuite/mastodon
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.

3141 lines
49 KiB

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