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.

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