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.
 
 
 
 

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