index.module.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. @use "@pythnetwork/component-library/theme";
  2. .priceComponentsCard {
  3. .toolbar {
  4. width: 100%;
  5. display: flex;
  6. flex-flow: column-reverse nowrap;
  7. gap: theme.spacing(2);
  8. padding-bottom: theme.spacing(2);
  9. @include theme.breakpoint("sm") {
  10. align-items: center;
  11. flex-flow: row nowrap;
  12. padding-bottom: unset;
  13. }
  14. .toolbarSection {
  15. display: flex;
  16. flex-flow: row nowrap;
  17. gap: theme.spacing(2);
  18. &[data-section="search"] {
  19. @include theme.breakpoint("sm") {
  20. flex-grow: 1;
  21. }
  22. }
  23. &[data-section="mode"] {
  24. display: none;
  25. @include theme.breakpoint("xl") {
  26. display: block;
  27. }
  28. }
  29. }
  30. .searchInput {
  31. flex-grow: 1;
  32. }
  33. }
  34. .table {
  35. display: none;
  36. @include theme.breakpoint("xl") {
  37. display: unset;
  38. }
  39. }
  40. .entityList {
  41. @include theme.breakpoint("xl") {
  42. display: none;
  43. }
  44. @include theme.breakpoint("sm") {
  45. dl > *:nth-child(1) {
  46. order: 1;
  47. }
  48. dl > *:nth-child(2) {
  49. order: 3;
  50. }
  51. dl > *:nth-child(3) {
  52. order: 5;
  53. }
  54. dl > *:nth-child(4) {
  55. order: 2;
  56. }
  57. dl > *:nth-child(5) {
  58. order: 4;
  59. }
  60. dl > *:nth-child(6) {
  61. order: 6;
  62. }
  63. dl > *:nth-child(7) {
  64. order: 8;
  65. }
  66. dl > *:nth-child(8) {
  67. order: 7;
  68. }
  69. }
  70. }
  71. }
  72. :export {
  73. // stylelint-disable-next-line property-no-unknown
  74. headerHeight: theme.$header-height;
  75. }