diff --git a/components/01_Atoms/pagination/_pagination.scss b/components/01_Atoms/pagination/_pagination.scss new file mode 100644 index 0000000..6ef9ecd --- /dev/null +++ b/components/01_Atoms/pagination/_pagination.scss @@ -0,0 +1,52 @@ +.LP-Pagination{ + font-family: $-primary-sans-serif-font; + font-weight: bold; + + .LP-Pagination__List{ + list-style-type: none; + display: flex; + flex-direction: row; + + } + + .LP-Pagination__Item{ + margin: 0 4px; + + &--current{ + + .LP-Link{ + background-color: $-light-brown; + border-radius: 2px; + + &:hover{ + background-color: $-light-brown; + color: $-grey; + } + } + } + + } + + .LP-Link{ + padding: 15px 25px; + + &:active, &:hover{ + background-color: $-beige; + border-radius: 2px; + color: $-grey; + } + } + + .LP-Pagination__Previous{ + + &:before{ + content: "«"; + } + } + + .LP-Pagination__Next{ + &:before{ + content: "»"; + } + } +} \ No newline at end of file diff --git a/components/01_Atoms/pagination/pagination.config.json b/components/01_Atoms/pagination/pagination.config.json new file mode 100644 index 0000000..2fb4153 --- /dev/null +++ b/components/01_Atoms/pagination/pagination.config.json @@ -0,0 +1,3 @@ +{ + "title": "Pagnination" +} \ No newline at end of file diff --git a/components/01_Atoms/pagination/pagination.hbs b/components/01_Atoms/pagination/pagination.hbs new file mode 100644 index 0000000..0cd5d4c --- /dev/null +++ b/components/01_Atoms/pagination/pagination.hbs @@ -0,0 +1,37 @@ +
\ No newline at end of file