styles.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @import 'styles/_variables.scss';
  2. .cbk-recipes-list {
  3. &__navbar {
  4. display: flex;
  5. flex-direction: column;
  6. flex: 1 1 auto;
  7. &__actions {
  8. display: flex;
  9. gap: 1rem;
  10. .cbk-light-input {
  11. margin-bottom: 0.5rem;
  12. }
  13. }
  14. &__layout {
  15. text-align: right;
  16. display: flex;
  17. align-items: center;
  18. justify-content: flex-end;
  19. width: 100%;
  20. }
  21. }
  22. .cbk-recipes-list__results {
  23. padding: 0 $spacing-large;
  24. @media #{$small-device} {
  25. padding: 0;
  26. }
  27. }
  28. &__list {
  29. padding: 0;
  30. @include box();
  31. li.cbk-list__item.mdc-list-item {
  32. font-weight: 600;
  33. font-family: $font-family-display;
  34. .cbk-list__item__name {
  35. flex: 2;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. white-space: nowrap;
  39. }
  40. .mdc-list-item__meta {
  41. color: $black;
  42. display: flex;
  43. }
  44. }
  45. }
  46. &__vertical-split {
  47. display: flex;
  48. gap: $spacing-small;
  49. padding: $spacing-small;
  50. &__list {
  51. flex: 1;
  52. }
  53. &__preview {
  54. flex: 1;
  55. }
  56. }
  57. @media #{$small-device} {
  58. }
  59. }