diff --git a/components/05_Molecules/pagination/_pagination.styl b/components/05_Molecules/pagination/_pagination.styl index b394703..7529462 100644 --- a/components/05_Molecules/pagination/_pagination.styl +++ b/components/05_Molecules/pagination/_pagination.styl @@ -1,23 +1,67 @@ -/*RV-Pagination__Item() - RV-FlexRow__Item() - .RV-Link - padding 15px 20px - vertical-align sub - border-radius 2px +RV-Pagination__Item(breakPoint) + +RV-Element() + RV-BreakPoint__Item(breakPoint) -RV-Pagination__List(breakpoint=500px) - RV-FlexRow() - RV-FlexRow--breakPoint(breakpoint) - RV-ElementList() - -.RV-Pagination - &__List - RV-Pagination__List() - - &__Item - RV-Pagination__Item() ++RV-Block('RV-Pagination') + RV-CSSParameter({ + breakPoint: 700px, + color: #f4a460, + size: 3rem + }) - &__Label - RV-FlexRow__Item--outsideBreakPoint() + RV-BreakPoint(--breakPoint) + RV-FlexRow() + +RV-Squash() + RV-FlexRow--horizontal() + RV-ElementList() + + +RV-Element() + RV-BreakPoint__Item(--breakPoint) -*/ \ No newline at end of file + +RV-Element('Label') + RV-Pagination__Item(--breakPoint) + +RV-Squash() + RV-BreakPoint__Item--outside() + border-radius .2rem + --color transparent + + +RV-Element('Icon') + RV-Pagination__Item(--breakPoint) + +RV-Squash() + RV-FlexRow__Item--content() + --color transparent + + +RV-Element('Number') + RV-Pagination__Item(--breakPoint) + RV-BreakPoint(--size) + +RV-Squash() + RV-BreakPoint--horizontal() + RV-FlexRow__Item--narrower() + border-radius .2rem + overflow visible + .RV-Link + RV-BreakPoint__Item(--size) + RV-BreakPoint__Item--outside() + text-align center + width --size + + +RV-Squash() + RV-BreakPoint--horizontal() + + .RV-Link + RV-Alignment() + +RV-Squash() + RV-Alignment--verticalCenter() + height 100% + background-color --color + + +RV-Element('Next') + text-align right + + +RV-Element('Last') + text-align right + + min-width 350px + align-items stretch + height --size + gap .5rem; \ No newline at end of file diff --git a/components/05_Molecules/pagination/pagination.hbs b/components/05_Molecules/pagination/pagination.hbs index 50ce88c..80f0e4e 100644 --- a/components/05_Molecules/pagination/pagination.hbs +++ b/components/05_Molecules/pagination/pagination.hbs @@ -1,71 +1,71 @@ -
-
\ No newline at end of file +
  • + + + +
  • +
  • + + First + +
  • +
  • + + + +
  • +
  • + + Previous + +
  • +
  • + + 1 + +
  • +
  • + + 2 + +
  • +
  • + + 3 + +
  • +
  • + + 4 + +
  • +
  • + + 5 + +
  • +
  • + + Next + +
  • +
  • + + + +
  • +
  • + + Last + + +
  • +
  • + + + + +
  • + \ No newline at end of file