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.

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