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.

4025 lines
67 KiB

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