The code powering m.abunchtell.com https://m.abunchtell.com
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.
 
 
 
 

1726 lines
28 KiB

  1. @import 'variables';
  2. .button {
  3. background-color: darken($color4, 3%);
  4. font-family: inherit;
  5. display: inline-block;
  6. position: relative;
  7. box-sizing: border-box;
  8. text-align: center;
  9. border: 10px none;
  10. color: $color5;
  11. font-size: 14px;
  12. font-weight: 500;
  13. letter-spacing: 0;
  14. text-transform: uppercase;
  15. padding: 0 16px;
  16. height: 36px;
  17. cursor: pointer;
  18. line-height: 36px;
  19. border-radius: 4px;
  20. text-decoration: none;
  21. transition: all 100ms ease-in;
  22. &:hover {
  23. background-color: lighten($color4, 7%);
  24. transition: all 200ms ease-out;
  25. }
  26. &:disabled {
  27. background-color: $color3;
  28. cursor: default;
  29. }
  30. &.button-secondary {
  31. //
  32. }
  33. }
  34. .column-icon {
  35. color: $color3;
  36. background: lighten($color1, 4%);
  37. &:hover {
  38. color: lighten($color3, 7%);
  39. }
  40. }
  41. .icon-button {
  42. display: inline-block;
  43. padding: 0;
  44. color: lighten($color1, 26%);
  45. border: none;
  46. background: transparent;
  47. cursor: pointer;
  48. transition: all 100ms ease-in;
  49. &:hover {
  50. color: lighten($color1, 33%);
  51. transition: all 200ms ease-out;
  52. }
  53. &.disabled {
  54. color: lighten($color1, 13%);
  55. cursor: default;
  56. }
  57. &.active {
  58. color: $color4;
  59. }
  60. &::-moz-focus-inner {
  61. border: 0;
  62. }
  63. &::-moz-focus-inner, &:focus, &:active {
  64. outline: 0 !important;
  65. }
  66. &.inverted {
  67. color: lighten($color1, 33%);
  68. &:hover {
  69. color: lighten($color1, 26%);
  70. }
  71. &.active {
  72. color: $color4;
  73. }
  74. &.disabled {
  75. color: $color3;
  76. }
  77. }
  78. }
  79. .text-icon-button {
  80. color: lighten($color1, 33%);
  81. border: none;
  82. background: transparent;
  83. cursor: pointer;
  84. font-weight: 600;
  85. font-size: 11px;
  86. padding: 0 3px;
  87. line-height: 27px;
  88. outline: 0;
  89. transition: all 100ms ease-in;
  90. &:hover {
  91. color: lighten($color1, 26%);
  92. transition: all 200ms ease-out;
  93. }
  94. &.disabled {
  95. color: lighten($color1, 13%);
  96. cursor: default;
  97. }
  98. &.active {
  99. color: $color4;
  100. }
  101. &::-moz-focus-inner {
  102. border: 0;
  103. }
  104. &::-moz-focus-inner, &:focus, &:active {
  105. outline: 0 !important;
  106. }
  107. }
  108. .dropdown--active .icon-button {
  109. color: $color4;
  110. }
  111. .invisible {
  112. font-size: 0;
  113. line-height: 0;
  114. display: inline-block;
  115. width: 0;
  116. }
  117. .ellipsis {
  118. &:after {
  119. content: "…";
  120. }
  121. }
  122. .lightbox .icon-button {
  123. color: $color1;
  124. }
  125. .compose-form__warning {
  126. color: $color2;
  127. margin-bottom: 15px;
  128. border: 1px solid $color3;
  129. padding: 8px 10px;
  130. border-radius: 4px;
  131. font-size: 12px;
  132. font-weight: 400;
  133. strong {
  134. color: $color5;
  135. font-weight: 500;
  136. }
  137. }
  138. .compose-form__modifiers {
  139. color: $color1;
  140. font-family: inherit;
  141. font-size: 14px;
  142. background: $color5;
  143. border-radius: 0 0 4px 0;
  144. }
  145. .compose-form__buttons {
  146. padding: 10px;
  147. background: darken($color5, 8%);
  148. box-shadow: inset 0 5px 5px rgba($color8, 0.05);
  149. border-radius: 0 0 4px 4px;
  150. display: flex;
  151. .icon-button {
  152. box-sizing: content-box;
  153. padding: 0 3px;
  154. }
  155. }
  156. .compose-form__label {
  157. display: block;
  158. line-height: 24px;
  159. vertical-align: middle;
  160. &.with-border {
  161. border-top: 1px solid $color1;
  162. padding-top: 10px;
  163. }
  164. .compose-form__label__text {
  165. display: inline-block;
  166. vertical-align: middle;
  167. margin-bottom: 14px;
  168. margin-left: 8px;
  169. color: $color3;
  170. }
  171. }
  172. .compose-form__textarea, .follow-form__input {
  173. background: $color5;
  174. &:disabled {
  175. background: $color2;
  176. }
  177. }
  178. .emojione {
  179. display: inline-block;
  180. font-size: inherit;
  181. vertical-align: middle;
  182. margin: -.2ex .15em .2ex;
  183. width: 16px;
  184. height: 16px;
  185. img {
  186. width: auto;
  187. }
  188. }
  189. .reply-indicator {
  190. border-radius: 4px 4px 0 0;
  191. position: relative;
  192. bottom: -2px;
  193. background: $color3;
  194. padding: 10px;
  195. .reply-indicator__display-name {
  196. color: $color1;
  197. }
  198. }
  199. .status__content, .reply-indicator__content {
  200. font-size: 15px;
  201. line-height: 20px;
  202. word-wrap: break-word;
  203. font-weight: 400;
  204. overflow: hidden;
  205. white-space: pre-wrap;
  206. .emojione {
  207. width: 18px;
  208. height: 18px;
  209. }
  210. p {
  211. margin-bottom: 20px;
  212. &:last-child {
  213. margin-bottom: 0;
  214. }
  215. }
  216. a {
  217. color: $color2;
  218. text-decoration: none;
  219. &:hover {
  220. text-decoration: underline;
  221. .fa {
  222. color: lighten($color1, 40%);
  223. }
  224. }
  225. &.mention {
  226. &:hover {
  227. text-decoration: none;
  228. span {
  229. text-decoration: underline;
  230. }
  231. }
  232. }
  233. .fa {
  234. color: lighten($color1, 30%);
  235. }
  236. }
  237. .status__content__spoiler-link {
  238. background: lighten($color1, 30%);
  239. &:hover {
  240. background: lighten($color1, 33%);
  241. text-decoration: none;
  242. }
  243. }
  244. }
  245. a.status__content__spoiler-link {
  246. display: inline-block;
  247. border-radius: 2px;
  248. color: lighten($color1, 8%);
  249. font-weight: 500;
  250. font-size: 11px;
  251. padding: 0px 6px;
  252. text-transform: uppercase;
  253. line-height: inherit;
  254. }
  255. .status {
  256. padding: 8px 10px;
  257. padding-left: 68px;
  258. position: relative;
  259. min-height: 48px;
  260. border-bottom: 1px solid lighten($color1, 8%);
  261. cursor: default;
  262. .status__relative-time {
  263. color: lighten($color1, 26%);
  264. }
  265. .status__display-name {
  266. color: lighten($color1, 26%);
  267. }
  268. }
  269. .status-check-box {
  270. border-bottom: 1px solid lighten($color1, 8%);
  271. .status__content {
  272. background: lighten($color1, 4%);
  273. }
  274. }
  275. .status__prepend {
  276. margin-left: 68px;
  277. color: lighten($color1, 26%);
  278. padding: 8px 0;
  279. padding-bottom: 2px;
  280. font-size: 14px;
  281. position: relative;
  282. .status__display-name strong {
  283. color: lighten($color1, 26%);
  284. }
  285. }
  286. .detailed-status {
  287. background: lighten($color1, 4%);
  288. .status__content {
  289. font-size: 19px;
  290. line-height: 24px;
  291. .emojione {
  292. width: 22px;
  293. height: 22px;
  294. }
  295. }
  296. }
  297. .detailed-status__meta {
  298. margin-top: 15px;
  299. color: lighten($color1, 26%);
  300. font-size: 14px;
  301. line-height: 18px;
  302. }
  303. .detailed-status__action-bar {
  304. background: lighten($color1, 4%);
  305. display: flex;
  306. flex-direction: row;
  307. border-top: 1px solid lighten($color1, 8%);
  308. border-bottom: 1px solid lighten($color1, 8%);
  309. padding: 10px 0;
  310. }
  311. .reply-indicator__content {
  312. color: $color1;
  313. font-size: 14px;
  314. a {
  315. color: lighten($color1, 20%);
  316. }
  317. }
  318. .account {
  319. padding: 10px;
  320. border-bottom: 1px solid lighten($color1, 8%);
  321. .account__display-name {
  322. flex: 1 1 auto;
  323. display: block;
  324. color: $color3;
  325. overflow: hidden;
  326. text-decoration: none;
  327. font-size: 14px;
  328. }
  329. }
  330. .account__header {
  331. flex: 0 0 auto;
  332. background: lighten($color1, 4%);
  333. text-align: center;
  334. background-size: cover;
  335. background-position: center;
  336. position: relative;
  337. & > div {
  338. background: rgba(lighten($color1, 4%), 0.9);
  339. }
  340. .account__header__content {
  341. color: $color2;
  342. }
  343. .account__header__display-name {
  344. color: $color5;
  345. }
  346. .account__header__username {
  347. color: $color4;
  348. }
  349. }
  350. .account__header__content {
  351. word-wrap: break-word;
  352. font-weight: 400;
  353. overflow: hidden;
  354. color: $color3;
  355. p {
  356. margin-bottom: 20px;
  357. &:last-child {
  358. margin-bottom: 0;
  359. }
  360. }
  361. a {
  362. color: inherit;
  363. text-decoration: underline;
  364. &:hover {
  365. text-decoration: none;
  366. }
  367. }
  368. }
  369. .account__header__display-name {
  370. .emojione {
  371. width: 25px;
  372. height: 25px;
  373. }
  374. }
  375. .account__action-bar {
  376. border-top: 1px solid lighten($color1, 8%);
  377. border-bottom: 1px solid lighten($color1, 8%);
  378. line-height: 36px;
  379. overflow: hidden;
  380. flex: 0 0 auto;
  381. display: flex;
  382. }
  383. .account__action-bar__tab {
  384. text-decoration: none;
  385. overflow: hidden;
  386. width: 80px;
  387. border-left: 1px solid lighten($color1, 8%);
  388. padding: 10px 5px;
  389. & > span {
  390. display: block;
  391. text-transform: uppercase;
  392. font-size: 11px;
  393. color: $color3;
  394. }
  395. strong {
  396. display: block;
  397. font-size: 15px;
  398. font-weight: 500;
  399. color: $color5;
  400. }
  401. abbr {
  402. color: lighten($color1, 26%);
  403. }
  404. }
  405. .status__display-name, .status__relative-time, .detailed-status__display-name, .detailed-status__datetime, .detailed-status__application, .account__display-name {
  406. text-decoration: none;
  407. }
  408. .status__display-name, .account__display-name {
  409. strong {
  410. color: $color5;
  411. }
  412. &.muted {
  413. .emojione {
  414. opacity: 0.5;
  415. }
  416. }
  417. }
  418. .status__display-name, .reply-indicator__display-name, .detailed-status__display-name, .account__display-name {
  419. &:hover {
  420. strong {
  421. text-decoration: underline;
  422. }
  423. }
  424. }
  425. .account__display-name {
  426. strong {
  427. display: block;
  428. }
  429. }
  430. .detailed-status__display-name {
  431. color: $color2;
  432. line-height: 24px;
  433. strong, span {
  434. display: block;
  435. }
  436. strong {
  437. font-size: 16px;
  438. color: $color5;
  439. }
  440. }
  441. .muted {
  442. .status__content p, .status__content a {
  443. color: lighten($color1, 26%);
  444. }
  445. .status__display-name strong {
  446. color: lighten($color1, 26%);
  447. }
  448. .status__avatar {
  449. opacity: 0.5;
  450. }
  451. a.status__content__spoiler-link {
  452. background: lighten($color1, 26%);
  453. color: lighten($color1, 4%);
  454. &:hover {
  455. background: lighten($color1, 29%);
  456. text-decoration: none;
  457. }
  458. }
  459. }
  460. .notification__message {
  461. margin-left: 68px;
  462. padding: 8px 0;
  463. padding-bottom: 0;
  464. cursor: default;
  465. color: $color3;
  466. font-size: 15px;
  467. position: relative;
  468. .fa {
  469. color: $color4;
  470. }
  471. }
  472. .notification__display-name {
  473. color: inherit;
  474. text-decoration: none;
  475. &:hover {
  476. color: $color5;
  477. text-decoration: underline;
  478. }
  479. }
  480. .status__relative-time, .detailed-status__datetime {
  481. &:hover {
  482. text-decoration: underline;
  483. }
  484. }
  485. .transparent-background, .imageloader {
  486. background: image-url('void.png');
  487. }
  488. .imageloader {
  489. display: block;
  490. }
  491. .navigation-bar {
  492. padding: 10px;
  493. display: flex;
  494. flex-shrink: 0;
  495. cursor: default;
  496. color: $color3;
  497. strong {
  498. color: $color5;
  499. }
  500. }
  501. .dropdown {
  502. display: inline-block;
  503. }
  504. .dropdown__content {
  505. display: none;
  506. position: absolute;
  507. }
  508. .dropdown__sep {
  509. border-bottom: 1px solid darken($color2, 8%);
  510. margin: 5px 7px 6px;
  511. padding-top: 1px;
  512. }
  513. .dropdown--active .dropdown__content {
  514. display: block;
  515. z-index: 9999;
  516. &:before {
  517. content: "";
  518. display: block;
  519. position: absolute;
  520. width: 0;
  521. height: 0;
  522. border-style: solid;
  523. border-width: 0 4.5px 7.8px 4.5px;
  524. border-color: transparent transparent $color2 transparent;
  525. top: -7px;
  526. left: 8px;
  527. }
  528. & > ul {
  529. list-style: none;
  530. background: $color2;
  531. padding: 4px 0;
  532. border-radius: 4px;
  533. box-shadow: 0 0 15px rgba($color8, 0.4);
  534. min-width: 140px;
  535. position: relative;
  536. left: -10px;
  537. }
  538. &.dropdown__left {
  539. & > ul {
  540. left: -98px;
  541. }
  542. & > .emoji-dialog {
  543. left: -249px;
  544. }
  545. }
  546. & > ul > li > a {
  547. font-size: 13px;
  548. line-height: 18px;
  549. display: block;
  550. padding: 4px 14px;
  551. box-sizing: border-box;
  552. width: 140px;
  553. text-decoration: none;
  554. background: $color2;
  555. color: $color1;
  556. overflow: hidden;
  557. text-overflow: ellipsis;
  558. white-space: nowrap;
  559. &:focus {
  560. outline: 0;
  561. }
  562. &:hover {
  563. background: $color4;
  564. color: $color2;
  565. }
  566. }
  567. }
  568. .static-content {
  569. padding: 10px;
  570. padding-top: 20px;
  571. color: lighten($color1, 26%);
  572. h1 {
  573. font-size: 16px;
  574. font-weight: 500;
  575. margin-bottom: 40px;
  576. text-align: center;
  577. }
  578. p {
  579. font-size: 13px;
  580. margin-bottom: 20px;
  581. }
  582. }
  583. .columns-area {
  584. flex-direction: row;
  585. justify-content: flex-start;
  586. }
  587. @media screen and (min-width: 360px) {
  588. .columns-area {
  589. margin: 10px;
  590. }
  591. }
  592. .column {
  593. width: 330px;
  594. position: relative;
  595. box-sizing: border-box;
  596. background: $color1;
  597. display: flex;
  598. flex-direction: column;
  599. }
  600. .ui {
  601. flex: 0 0 auto;
  602. display: flex;
  603. flex-direction: column;
  604. width: 100%;
  605. height: 100%;
  606. background: darken($color1, 7%);
  607. }
  608. .drawer {
  609. width: 300px;
  610. box-sizing: border-box;
  611. display: flex;
  612. flex-direction: column;
  613. overflow-y: hidden;
  614. }
  615. .drawer__tab {
  616. display: block;
  617. flex: 1 1 auto;
  618. padding: 15px;
  619. padding-bottom: 13px;
  620. color: $color3;
  621. text-decoration: none;
  622. text-align: center;
  623. font-size: 16px;
  624. border-bottom: 2px solid transparent;
  625. }
  626. @media screen and (min-width: 2560px) {
  627. .columns-area {
  628. justify-content: center;
  629. }
  630. .column, .drawer {
  631. width: 350px;
  632. border-radius: 4px;
  633. height: 90vh;
  634. margin-top: 5vh;
  635. }
  636. }
  637. .drawer__inner {
  638. //background: linear-gradient(rgba(lighten($color1, 13%), 1), rgba(lighten($color1, 13%), 0.65));
  639. background: lighten($color1, 13%);
  640. box-sizing: border-box;
  641. padding: 0;
  642. display: flex;
  643. flex-direction: column;
  644. overflow: hidden;
  645. overflow-y: auto;
  646. flex-grow: 1;
  647. }
  648. .drawer__header {
  649. flex: 0 0 auto;
  650. font-size: 16px;
  651. background: lighten($color1, 8%);
  652. margin-bottom: 10px;
  653. display: flex;
  654. flex-direction: row;
  655. a {
  656. transition: all 100ms ease-in;
  657. &:hover {
  658. background: lighten($color1, 3%);
  659. transition: all 200ms ease-out;
  660. }
  661. }
  662. }
  663. .column, .drawer {
  664. margin-left: 5px;
  665. margin-right: 5px;
  666. flex: 0 0 auto;
  667. overflow: hidden;
  668. }
  669. .column:first-child, .drawer:first-child {
  670. margin-left: 0;
  671. }
  672. .column:last-child, .drawer:last-child {
  673. margin-right: 0;
  674. }
  675. @media screen and (max-width: 1024px) {
  676. .column, .drawer {
  677. width: 100%;
  678. margin: 0;
  679. flex: 1 1 100%;
  680. }
  681. .columns-area {
  682. flex-direction: column;
  683. }
  684. .search__input, .autosuggest-textarea__textarea {
  685. font-size: 16px;
  686. }
  687. }
  688. .tabs-bar {
  689. display: flex;
  690. background: lighten($color1, 8%);
  691. flex: 0 0 auto;
  692. overflow-y: auto;
  693. }
  694. .tabs-bar__link {
  695. display: block;
  696. flex: 1 1 auto;
  697. padding: 10px 5px;
  698. color: $color5;
  699. text-decoration: none;
  700. text-align: center;
  701. font-size:12px;
  702. font-weight: 500;
  703. border-bottom: 2px solid lighten($color1, 8%);
  704. &.active {
  705. border-bottom: 2px solid $color4;
  706. color: $color4;
  707. }
  708. }
  709. @media screen and (min-width: 360px) {
  710. .tabs-bar {
  711. margin: 10px;
  712. margin-bottom: 0;
  713. }
  714. }
  715. @media screen and (min-width: 1025px) {
  716. .tabs-bar {
  717. display: none;
  718. }
  719. }
  720. .react-autosuggest__container {
  721. position: relative;
  722. }
  723. .react-autosuggest__suggestions-container {
  724. position: absolute;
  725. top: 100%;
  726. width: 100%;
  727. z-index: 99;
  728. box-shadow: 0 0 15px rgba($color8, 0.4);
  729. }
  730. .react-autosuggest__section-title {
  731. background: $color3;
  732. padding: 4px 10px;
  733. font-weight: 500;
  734. cursor: default;
  735. color: $color1;
  736. text-transform: uppercase;
  737. font-size: 11px;
  738. }
  739. .react-autosuggest__suggestions-list {
  740. background: $color2;
  741. color: $color1;
  742. font-size: 14px;
  743. }
  744. .react-autosuggest__suggestion {
  745. padding: 10px;
  746. cursor: pointer;
  747. }
  748. .react-autosuggest__suggestion--focused {
  749. background: $color4;
  750. color: $color5;
  751. }
  752. .scrollable {
  753. overflow-y: scroll;
  754. overflow-x: hidden;
  755. flex: 1 1 auto;
  756. -webkit-overflow-scrolling: touch;
  757. &.optionally-scrollable {
  758. overflow-y: auto;
  759. }
  760. }
  761. .column-back-button {
  762. padding: 15px;
  763. font-size: 16px;
  764. background: lighten($color1, 4%);
  765. flex: 0 0 auto;
  766. cursor: pointer;
  767. color: $color4;
  768. z-index: 3;
  769. &:hover {
  770. text-decoration: underline;
  771. }
  772. }
  773. .react-toggle {
  774. display: inline-block;
  775. position: relative;
  776. cursor: pointer;
  777. background-color: transparent;
  778. border: 0;
  779. padding: 0;
  780. user-select: none;
  781. -webkit-tap-highlight-color: rgba($color8, 0);
  782. -webkit-tap-highlight-color: transparent;
  783. }
  784. .react-toggle-screenreader-only {
  785. border: 0;
  786. clip: rect(0 0 0 0);
  787. height: 1px;
  788. margin: -1px;
  789. overflow: hidden;
  790. padding: 0;
  791. position: absolute;
  792. width: 1px;
  793. }
  794. .react-toggle--disabled {
  795. cursor: not-allowed;
  796. opacity: 0.5;
  797. transition: opacity 0.25s;
  798. }
  799. .react-toggle-track {
  800. width: 50px;
  801. height: 24px;
  802. padding: 0;
  803. border-radius: 30px;
  804. background-color: $color1;
  805. transition: all 0.2s ease;
  806. }
  807. .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
  808. background-color: darken($color1, 10%);
  809. }
  810. .react-toggle--checked .react-toggle-track {
  811. background-color: $color4;
  812. }
  813. .react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
  814. background-color: lighten($color4, 10%);
  815. }
  816. .react-toggle-track-check {
  817. position: absolute;
  818. width: 14px;
  819. height: 10px;
  820. top: 0px;
  821. bottom: 0px;
  822. margin-top: auto;
  823. margin-bottom: auto;
  824. line-height: 0;
  825. left: 8px;
  826. opacity: 0;
  827. transition: opacity 0.25s ease;
  828. }
  829. .react-toggle--checked .react-toggle-track-check {
  830. opacity: 1;
  831. transition: opacity 0.25s ease;
  832. }
  833. .react-toggle-track-x {
  834. position: absolute;
  835. width: 10px;
  836. height: 10px;
  837. top: 0px;
  838. bottom: 0px;
  839. margin-top: auto;
  840. margin-bottom: auto;
  841. line-height: 0;
  842. right: 10px;
  843. opacity: 1;
  844. transition: opacity 0.25s ease;
  845. }
  846. .react-toggle--checked .react-toggle-track-x {
  847. opacity: 0;
  848. }
  849. .react-toggle-thumb {
  850. transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
  851. position: absolute;
  852. top: 1px;
  853. left: 1px;
  854. width: 22px;
  855. height: 22px;
  856. border: 1px solid $color1;
  857. border-radius: 50%;
  858. background-color: darken($color5, 2%);
  859. box-sizing: border-box;
  860. transition: all 0.25s ease;
  861. }
  862. .react-toggle--checked .react-toggle-thumb {
  863. left: 27px;
  864. border-color: $color4;
  865. }
  866. .column-link {
  867. background: lighten($color1, 8%);
  868. color: $color5;
  869. &:hover {
  870. background: lighten($color1, 11%);
  871. }
  872. }
  873. .autosuggest-textarea, .spoiler-input {
  874. position: relative;
  875. }
  876. .autosuggest-textarea__textarea, .spoiler-input__input {
  877. display: block;
  878. box-sizing: border-box;
  879. width: 100%;
  880. resize: none;
  881. margin: 0;
  882. color: $color1;
  883. padding: 10px;
  884. font-family: inherit;
  885. font-size: 14px;
  886. resize: vertical;
  887. border: 0;
  888. outline: 0;
  889. &:focus {
  890. outline: 0;
  891. }
  892. }
  893. .spoiler-input__input {
  894. border-radius: 4px;
  895. }
  896. .autosuggest-textarea__textarea {
  897. height: 100px;
  898. background: $color5;
  899. border-radius: 4px 4px 0 0;
  900. padding-bottom: 0;
  901. padding-right: 10px + 22px;
  902. }
  903. .autosuggest-textarea__suggestions {
  904. position: absolute;
  905. top: 100%;
  906. width: 100%;
  907. z-index: 99;
  908. box-shadow: 0 0 15px rgba($color8, 0.4);
  909. background: $color2;
  910. color: $color1;
  911. font-size: 14px;
  912. }
  913. .autosuggest-textarea__suggestions__item {
  914. padding: 10px;
  915. cursor: pointer;
  916. &:hover {
  917. background: darken($color2, 10%);
  918. }
  919. &.selected {
  920. background: $color4;
  921. color: $color5;
  922. }
  923. }
  924. .getting-started {
  925. box-sizing: border-box;
  926. overflow-y: auto;
  927. padding-bottom: 235px;
  928. background: image-url('mastodon-getting-started.png') no-repeat bottom left;
  929. height: auto;
  930. min-height: 100%;
  931. p {
  932. color: $color2;
  933. }
  934. a {
  935. color: lighten($color1, 26%);
  936. }
  937. }
  938. .setting-text {
  939. color: $color3;
  940. background: transparent;
  941. border: none;
  942. border-bottom: 2px solid $color3;
  943. &:focus, &:active {
  944. color: $color5;
  945. border-bottom-color: $color4;
  946. }
  947. }
  948. @import 'boost';
  949. button i.fa-retweet {
  950. height: 19px;
  951. width: 22px;
  952. background-position: 0 0;
  953. transition: background-position 0.9s steps(10);
  954. transition-duration: 0s;
  955. &::before {
  956. display: none !important;
  957. }
  958. }
  959. button.active i.fa-retweet {
  960. transition-duration: 0.9s;
  961. background-position: 0 100%;
  962. }
  963. .status-card {
  964. display: flex;
  965. cursor: pointer;
  966. font-size: 14px;
  967. border: 1px solid lighten($color1, 8%);
  968. border-radius: 4px;
  969. color: lighten($color1, 26%);
  970. margin-top: 14px;
  971. text-decoration: none;
  972. overflow: hidden;
  973. &:hover {
  974. background: lighten($color1, 8%);
  975. }
  976. }
  977. .status-card__title {
  978. display: block;
  979. font-weight: 500;
  980. margin-bottom: 5px;
  981. color: $color3;
  982. overflow: hidden;
  983. text-overflow: ellipsis;
  984. white-space: nowrap;
  985. }
  986. .status-card__description {
  987. color: $color3;
  988. }
  989. .status-card__image {
  990. flex: 0 0 100px;
  991. background: lighten($color1, 8%);
  992. }
  993. .load-more {
  994. display: block;
  995. color: lighten($color1, 26%);
  996. text-align: center;
  997. padding: 15px;
  998. text-decoration: none;
  999. &:hover {
  1000. background: lighten($color1, 2%);
  1001. }
  1002. }
  1003. .missing-indicator {
  1004. text-align: center;
  1005. font-size: 16px;
  1006. font-weight: 500;
  1007. color: lighten($color1, 16%);
  1008. padding-top: 210px;
  1009. background: image-url('mastodon-not-found.png') no-repeat center -50px;
  1010. cursor: default;
  1011. }
  1012. .column-header {
  1013. padding: 15px;
  1014. font-size: 16px;
  1015. background: lighten($color1, 4%);
  1016. flex: 0 0 auto;
  1017. cursor: pointer;
  1018. position: relative;
  1019. z-index: 2;
  1020. &.active {
  1021. box-shadow: 0 1px 0 rgba($color4, 0.3);
  1022. }
  1023. &.active .fa {
  1024. color: $color4;
  1025. text-shadow: 0 0 10px rgba($color4, 0.4);
  1026. }
  1027. }
  1028. .search {
  1029. .fa {
  1030. color: $color3;
  1031. }
  1032. }
  1033. .search__input {
  1034. box-sizing: border-box;
  1035. display: block;
  1036. width: 100%;
  1037. border: none;
  1038. padding: 10px;
  1039. padding-right: 30px;
  1040. font-family: inherit;
  1041. background: $color1;
  1042. color: $color3;
  1043. font-size: 14px;
  1044. margin: 0;
  1045. }
  1046. .loading-indicator {
  1047. color: $color2;
  1048. }
  1049. .collapsable-collapsed {
  1050. color: $color3;
  1051. background: lighten($color1, 4%);
  1052. }
  1053. .collapsable {
  1054. color: $color5;
  1055. background: lighten($color1, 8%);
  1056. &:hover {
  1057. color: $color5;
  1058. background: lighten($color1, 8%);
  1059. }
  1060. }
  1061. .media-spoiler {
  1062. background: $color8;
  1063. color: $color5;
  1064. }
  1065. .modal-container--preloader {
  1066. background: lighten($color1, 8%);
  1067. }
  1068. .account--panel {
  1069. background: lighten($color1, 4%);
  1070. border-top: 1px solid lighten($color1, 8%);
  1071. border-bottom: 1px solid lighten($color1, 8%);
  1072. }
  1073. .column-settings--outer {
  1074. background: lighten($color1, 8%);
  1075. }
  1076. .column-settings--section {
  1077. color: $color3;
  1078. }
  1079. .modal-container--nav {
  1080. color: $color5;
  1081. }
  1082. .account--follows-info {
  1083. color: $color5;
  1084. }
  1085. .setting-toggle {
  1086. color: $color3;
  1087. }
  1088. .report__target {
  1089. border-bottom: 1px solid lighten($color1, 4%);
  1090. color: $color2;
  1091. padding-bottom: 10px;
  1092. strong {
  1093. display: block;
  1094. color: $color5;
  1095. font-weight: 500;
  1096. }
  1097. }
  1098. .report__textarea {
  1099. background: transparent;
  1100. box-sizing: border-box;
  1101. border: 0;
  1102. border-bottom: 2px solid $color3;
  1103. border-radius: 2px 2px 0 0;
  1104. padding: 7px 4px;
  1105. font-size: 14px;
  1106. color: $color5;
  1107. display: block;
  1108. width: 100%;
  1109. outline: 0;
  1110. font-family: inherit;
  1111. resize: vertical;
  1112. &:active, &:focus {
  1113. border-bottom-color: $color4;
  1114. background: rgba($color8, 0.1);
  1115. }
  1116. }
  1117. .empty-column-indicator {
  1118. color: lighten($color1, 20%);
  1119. text-align: center;
  1120. padding: 20px;
  1121. padding-top: 100px;
  1122. font-size: 15px;
  1123. font-weight: 400;
  1124. cursor: default;
  1125. a {
  1126. color: $color4;
  1127. text-decoration: none;
  1128. &:hover {
  1129. text-decoration: underline;
  1130. }
  1131. }
  1132. }
  1133. .status-list__unread-indicator, .notifications__unread-indicator {
  1134. position: absolute;
  1135. top: 35px;
  1136. left: 0;
  1137. right: 0;
  1138. margin: 0 auto;
  1139. width: 60%;
  1140. pointer-events: none;
  1141. height: 28px;
  1142. z-index: 1;
  1143. background: radial-gradient(ellipse, rgba($color4, 0.23) 0%, rgba($color4, 0) 60%);
  1144. }
  1145. .emoji-dialog {
  1146. width: 280px;
  1147. height: 220px;
  1148. background: $color2;
  1149. box-sizing: border-box;
  1150. border-radius: 2px;
  1151. overflow: hidden;
  1152. position: relative;
  1153. box-shadow: 0 0 15px rgba($color8, 0.4);
  1154. .emojione {
  1155. margin: 0;
  1156. }
  1157. .emoji-dialog-header {
  1158. padding: 0 10px;
  1159. background-color: $color3;
  1160. ul {
  1161. padding: 0;
  1162. margin: 0;
  1163. list-style: none;
  1164. }
  1165. li {
  1166. display: inline-block;
  1167. box-sizing: border-box;
  1168. height: 42px;
  1169. padding: 9px 5px;
  1170. cursor: pointer;
  1171. img, svg {
  1172. width: 22px;
  1173. height: 22px;
  1174. filter: grayscale(100%);
  1175. }
  1176. &.active {
  1177. background: lighten($color3, 6%);
  1178. img, svg {
  1179. filter: grayscale(0);
  1180. }
  1181. }
  1182. }
  1183. }
  1184. .emoji-row {
  1185. box-sizing: border-box;
  1186. overflow-y: hidden;
  1187. padding-left: 10px;
  1188. .emoji {
  1189. display: inline-block;
  1190. padding: 5px;
  1191. border-radius: 4px;
  1192. }
  1193. }
  1194. .emoji-category-header {
  1195. box-sizing: border-box;
  1196. overflow-y: hidden;
  1197. padding: 8px 16px 0;
  1198. display: table;
  1199. > * {
  1200. display: table-cell;
  1201. vertical-align: middle;
  1202. }
  1203. }
  1204. .emoji-category-title {
  1205. font-size: 14px;
  1206. font-family: sans-serif;
  1207. font-weight: normal;
  1208. color: $color1;
  1209. cursor: default;
  1210. }
  1211. .emoji-category-heading-decoration {
  1212. text-align: right;
  1213. }
  1214. .modifiers {
  1215. list-style: none;
  1216. padding: 0;
  1217. margin: 0;
  1218. vertical-align: middle;
  1219. white-space: nowrap;
  1220. margin-top: 4px;
  1221. li {
  1222. display: inline-block;
  1223. padding: 0 2px;
  1224. &:last-of-type {
  1225. padding-right: 0;
  1226. }
  1227. }
  1228. .modifier {
  1229. display: inline-block;
  1230. border-radius: 10px;
  1231. width: 15px;
  1232. height: 15px;
  1233. position: relative;
  1234. cursor: pointer;
  1235. &.active:after {
  1236. content: "";
  1237. display: block;
  1238. position: absolute;
  1239. width: 7px;
  1240. height: 7px;
  1241. border-radius: 10px;
  1242. border: 2px solid $color1;
  1243. top: 2px;
  1244. left: 2px;
  1245. }
  1246. }
  1247. }
  1248. .emoji-search-wrapper {
  1249. padding: 6px 16px;
  1250. }
  1251. .emoji-search {
  1252. font-size: 12px;
  1253. padding: 6px 4px;
  1254. width: 100%;
  1255. border: 1px solid #ddd;
  1256. border-radius: 4px;
  1257. }
  1258. .emoji-categories-wrapper {
  1259. position: absolute;
  1260. top: 42px;
  1261. bottom: 0;
  1262. left: 0;
  1263. right: 0;
  1264. }
  1265. .emoji-search-wrapper + .emoji-categories-wrapper {
  1266. top: 83px;
  1267. }
  1268. .emoji-row .emoji:hover {
  1269. background: lighten($color2, 3%);
  1270. }
  1271. .emoji {
  1272. width: 22px;
  1273. height: 22px;
  1274. cursor: pointer;
  1275. &:focus {
  1276. outline: 0;
  1277. }
  1278. }
  1279. }
  1280. .autosuggest-status {
  1281. overflow: hidden;
  1282. white-space: nowrap;
  1283. text-overflow: ellipsis;
  1284. strong {
  1285. font-weight: 500;
  1286. }
  1287. }
  1288. .upload-area {
  1289. position: absolute;
  1290. top: 0;
  1291. left: 0;
  1292. width: 100%;
  1293. height: 100%;
  1294. visibility: hidden;
  1295. background: rgba($color8, 0.8);
  1296. display: flex;
  1297. align-items: center;
  1298. justify-content: center;
  1299. opacity: 0;
  1300. z-index: 2000;
  1301. * {
  1302. pointer-events: none;
  1303. }
  1304. }
  1305. .upload-area__drop {
  1306. width: 320px;
  1307. height: 160px;
  1308. display: flex;
  1309. box-sizing: border-box;
  1310. position: relative;
  1311. padding: 8px;
  1312. }
  1313. .upload-area__background {
  1314. position: absolute;
  1315. top: 0;
  1316. right: 0;
  1317. bottom: 0;
  1318. left: 0;
  1319. z-index: -1;
  1320. border-radius: 4px;
  1321. background: $color1;
  1322. box-shadow: 0 0 5px rgba($color8, 0.2);
  1323. }
  1324. .upload-area__content {
  1325. flex: 1;
  1326. display: flex;
  1327. align-items: center;
  1328. justify-content: center;
  1329. color: $color2;
  1330. font-size: 18px;
  1331. font-weight: 500;
  1332. border: 2px dashed lighten($color1, 26%);
  1333. border-radius: 4px;
  1334. }
  1335. .upload-progress {
  1336. padding: 10px;
  1337. color: lighten($color1, 26%);
  1338. overflow: hidden;
  1339. display: flex;
  1340. .fa {
  1341. font-size: 34px;
  1342. margin-right: 10px;
  1343. }
  1344. span {
  1345. font-size: 12px;
  1346. text-transform: uppercase;
  1347. font-weight: 500;
  1348. display: block;
  1349. }
  1350. }
  1351. .upload-progress__backdrop {
  1352. width: 100%;
  1353. height: 6px;
  1354. border-radius: 6px;
  1355. background: lighten($color1, 26%);
  1356. position: relative;
  1357. margin-top: 5px;
  1358. }
  1359. .upload-progress__tracker {
  1360. position: absolute;
  1361. left: 0;
  1362. top: 0;
  1363. height: 6px;
  1364. background: $color4;
  1365. border-radius: 6px;
  1366. }
  1367. .emoji-button {
  1368. outline: 0;
  1369. &:active, &:focus {
  1370. outline: 0 !important;
  1371. }
  1372. img {
  1373. filter: grayscale(100%);
  1374. opacity: 0.8;
  1375. display: block;
  1376. margin: 0;
  1377. width: 22px;
  1378. height: 22px;
  1379. margin-top: 2px;
  1380. }
  1381. &:hover {
  1382. img {
  1383. opacity: 1;
  1384. filter: none;
  1385. }
  1386. }
  1387. }
  1388. .dropdown--active .emoji-button img {
  1389. opacity: 1;
  1390. filter: none;
  1391. }
  1392. .privacy-dropdown {
  1393. position: relative;
  1394. }
  1395. .privacy-dropdown__dropdown {
  1396. display: none;
  1397. position: absolute;
  1398. left: 0;
  1399. top: 27px;
  1400. width: 230px;
  1401. background: $color5;
  1402. border-radius: 0 4px 4px 4px;
  1403. z-index: 2;
  1404. overflow: hidden;
  1405. }
  1406. .privacy-dropdown__option {
  1407. color: $color1;
  1408. padding: 10px;
  1409. cursor: pointer;
  1410. display: flex;
  1411. &:hover, &.active {
  1412. background: $color4;
  1413. color: $color5;
  1414. .privacy-dropdown__option__content {
  1415. color: $color5;
  1416. strong {
  1417. color: $color5;
  1418. }
  1419. }
  1420. }
  1421. &.active:hover {
  1422. background: lighten($color4, 4%);
  1423. }
  1424. }
  1425. .privacy-dropdown__option__icon {
  1426. display: flex;
  1427. align-items: center;
  1428. justify-content: center;
  1429. margin-right: 10px;
  1430. }
  1431. .privacy-dropdown__option__content {
  1432. flex: 1 1 auto;
  1433. color: darken($color3, 24%);
  1434. strong {
  1435. font-weight: 500;
  1436. display: block;
  1437. color: $color1;
  1438. }
  1439. }
  1440. .privacy-dropdown.active {
  1441. .privacy-dropdown__value {
  1442. background: $color5;
  1443. border-radius: 4px 4px 0 0;
  1444. box-shadow: 0 -4px 4px rgba($color8, 0.1);
  1445. }
  1446. .privacy-dropdown__dropdown {
  1447. display: block;
  1448. box-shadow: 2px 4px 6px rgba($color8, 0.1);
  1449. }
  1450. }